| Posted by - Dazed on 06/15/18 11:43 
- Dazed <user@name.com> wrotc:
 >- Dazed <user@name.com> wrotc:
 >
 >>If I add the following line:
 >>ErrorDocument 404 /404.php
 >>into my .htaccess file, it screws up the value returned by:
 >>getenv('REQUEST_URI')
 >>
 >>getenv('REQUEST_URI') returns scripts.gif instead of the actual
 >>filename such as index.php
 >>
 >>Anyone have any idea why this might be happening???
 >
 >The value being returned is the name of the last image displayed
 >index.php instead of the name of index.php.
 >Everything is fine when I don't have ErrorDocument 404 /404.php in the
 >.htaccess file
 
 Figured it out!!!
  Navigation: [Reply to this message] |