I'm hosting a web site on a Zeus Web Server (not my choice!). I have a custom error page to handle 404 redirects. This is done via an entry in .htaccess:
ErrorDocument 404 ./error.php
My problem is that the php variable $_SERVER['REQUEST_URI'] does not return the offending url (which caused the 404).
I'm wondering how can I access the offending URL within the PHP error page?
Many thanks for any help!