note 37485 deleted from install.apache2 by sniper

From: Date: Sat, 29 Nov 2003 12:27:26 +0000
Subject: note 37485 deleted from install.apache2 by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-61108@lists.php.net to get a copy of this message
Note Submitter: info@keli.dk ---- I found out that the PHP filter in Apache 2.0 does not accept path_info by default. (At least in the version that comes with redhat 9.0) So if you are passing extra information after the file name of the script (i.e. in the PATH INFO, I'm not talking about the query string: ex. http://servername.con/show_image.php/imagename), and get 404s from Apace. Add this to your Apache configuration: <Files *.php> AcceptPathInfo On </Files> (You can of course add it to any existing <Files *.php> block instead of creating a new one.)

« previous php.notes (#61108) next »