Re: Apache 2.0.52 / PHP 4.3.10 Integration Question...

From: Date: Fri, 31 Dec 2004 20:29:53 +0000
Subject: Re: Apache 2.0.52 / PHP 4.3.10 Integration Question...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-205431@lists.php.net to get a copy of this message
Robin Getz wrote:
I have a file named /www/projects which is a php script. When I type the url: www.site/projects/variable I want variable passed to the script "projects" I have the the http.conf set up as: <Files projects> SetInputFilter PHP SetOutputFilter PHP AcceptPathInfo On </Files> Which used to work with apache 2.0.40 and php 4.2.3 - but what happens now, is I actually get passed the php script back as text to the browser.
All of the methods I've seen in the past used a "Forcetype" directive and PATH_INFO. <Files projects> ForceType application/x-httpd-php </Files> Is this SetInputFilter and SetOutputFilter the Apache2 equivilent of the Forcetype or another way of doing it? Have you tried Forcetype? -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#205431) next »