Quote:>I'm using the ErrorDocument directive to provide a custom 404 error page.
>However one drawback is that users can no longer see the faulty url they
>requested.
That depends how you call it. If you use a full URL like
http://site/path/notfound.html then it is that way but it isn't if
you use something like /path/notfound.html
Quote:>Is there a way to include the default "The requested URL /foo.html was not
>found on this server." behavior in a custom error document?
Sure, but only if you don't use the full URL in which case the user
normally (depending on their client) sees the one that caused the
404 anyway. To see all the environment variables you can use
(either in a SSI or a CGI), setup a 404 to redirect to the printenv
script.