note 37485 added to install.apache2
| From: | info at keli dot dk | Date: | Mon, 17 Nov 2003 10:25:13 +0000 |
| Subject: | note 37485 added to install.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-60482@lists.php.net to get a copy of this message | ||
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.)
----
Manual Page -- http://www.php.net/manual/en/install.apache2.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37485
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37485&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37485&report=yes
Search -- http://master.php.net/manage/user-notes.php