Do you have a question? Post it now! No Registration Necessary. Now with pictures!
December 10, 2004, 4:51 pm
rate this thread
a friend of mine is trying to move his website to my server. This site
contains some PHP scripts which are called in an uncommon way, eg:
In this case, /login should be passed to script.php
This was running with Apache 1.3.27 / PHP 4.3.3 but seems not to work
on my combination of Apache 2.0.46 / PHP 4.3.2
Any guesses what I can do w/o changing all the scripts?
Re: Strange URL
If you compiled PHP with the apache2filter or cgi SAPI, this method
doesn't seem to work.
There's an Apache configuration setting AcceptPathInfo; try forcing it
on in httpd.conf or .htaccess. If that doesn't work, try recompiling PHP
with the apache2handler SAPI. (Consider upgrading to PHP 4.3.9, as well.
There are numerous bug fixes since 4.3.2.)
You can see which SAPI (server API) you're using from the output of
phpinfo() or the php_sapi_name() function.
-- brion vibber (brion @ pobox.com)