I've installed eZpublish 3 on my Win2k machine with Apache 1.3 and PHP 4.3.4 CGI. EZpublish uses URLs like this: http://localhost/eZpublish/index.php/path/to/article. The arg, "/path/to/article", should be available in $_ENV['PATH_INFO"], but everytime I try to use such a URL, I get "No input file specified". I wrote a simple test script, but got the same results:
try.php:
<?
echo '<br/>path_info: ' . $_ENV['PATH_INFO'];
?>
My phpinfo.php script displays PATH_INFO as "/phpinfo.php", which is an error, I think.
Does anyone know what the problem is? I checked the php bugs site and found that the same problem had occurred with Apache 2 and IIS, but not with Apache 1.3
Thanks in advance.
problem with http://<hostname>/<scriptname>.php/
Moderator: General Moderators
-
johnhollister
- Forum Newbie
- Posts: 3
- Joined: Thu Feb 12, 2004 4:42 pm
You need to turn AcceptPathInfo On in httpd.conf ...
see http://www.ez.no/community/forum/instal ... th_info__1 and http://www.apacheweek.com/issues/02-07-12 for more info
see http://www.ez.no/community/forum/instal ... th_info__1 and http://www.apacheweek.com/issues/02-07-12 for more info
-
johnhollister
- Forum Newbie
- Posts: 3
- Joined: Thu Feb 12, 2004 4:42 pm
-
johnhollister
- Forum Newbie
- Posts: 3
- Joined: Thu Feb 12, 2004 4:42 pm