problem with http://<hostname>/<scriptname>.php/
Posted: Thu Feb 12, 2004 4:42 pm
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.
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.