First you need to determine what version of apache you're running: Apache 1.3 usually will accept PATH_INFO by default, however as of Apache 2.0.30 that changed and may be catching you out!
Firstly you should check your http.conf for the following directive AcceptPathInfo
If you find it and it's set to default or off set it to on and then restart apache.
If it is on, test it with the following snippet:
<?php
print isset($_SERVER['PATH_INFO']) ? $_SERVER['PATH_INFO'] : 'NOT SET!';
?>
Save it as test.php and access it via a browser as test.php/some/path/info
If the result is 'NOT FOUND' or results in 404 NOT FOUND, then PATH_INFO is not set and likely your confirmmail.php. recover.php, takeupload.php and any other file that uses PATH_INFO will result in errors.
If you do not find AcceptPathInfo in your http.conf then add the following:
AcceptPathInfo on
More info can be found here: Link
Posted by CoLdFuSiOn
on November 21 2006 06:18:27
| 8616 Reads ·
|
|