Re: Apache 500 ErrorDocument not working



On May 21, 6:58 pm, The Natural Philosopher <t...@xxxxxxxxxxxxxxx>
wrote:
Not sure, but I think that the file path is relative to *apaches* root
directory so try without the /www bit

Yup

http://httpd.apache.org/docs/2.0/mod/core.html

URLs can begin with a slash (/) for local web-paths (relative to the
*DocumentRoot*), or be a full URL which the client can resolve.
Alternatively, a message can be provided to be displayed by the browser.
Examples:

ErrorDocument 500http://foo.example.com/cgi-bin/tester
ErrorDocument 404 /cgi-bin/bad_urls.pl
ErrorDocument 401 /subscription_info.html
ErrorDocument 403 "Sorry can't allow you access today"


Thanks Ian...

I tried the following


ErrorDocument 500 "500 TEST"


.... but that didn't work either :-(

cheers

ian
.