On Fri, 16 Mar 2001 12:04, Paul R. Jackson wrote:
> Hello,
>
> This is my first post to the group so go easy on me.
>
> I am using apache httpd.conf file to redirect 404 errors to a page
> which basically displays and error message, amongst other things. It
> all works fine but...
>
> I want to be able to find out what the document that they attempted to
> access was named, so I can display and log the value to a special log
> that I am using for othger purposes.
>
> Should the 'not found' url be in $REDIRECT_ERROR_NOTES ???
>
> This value doesn't seem to be set. And its not in any of the
> HTTP_ENV_VARS or HTTP_SERVER_VARS.
>
> I know the answer will be something simple but I cant seem to find much
> help anywhere. Any help or push in the direction of a useful web page
> would be nice.
>
> Paul

Check out REQUEST_URI - from that you can build a full URL if you need it.

-- 
David Robley                        | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
AusEinet                            | http://auseinet.flinders.edu.au/
            Flinders University, ADELAIDE, SOUTH AUSTRALIA

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to