Re: Apache 500 ErrorDocument not working
- From: ian diddams <iandiddamsorg@xxxxxxxxxxxxxx>
- Date: Mon, 21 May 2012 11:25:58 -0700 (PDT)
On May 21, 6:58 pm, The Natural Philosopher <t...@xxxxxxxxxxxxxxx>
Not sure, but I think that the file path is relative to *apaches* root
directory so try without the /www bit
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.
ErrorDocument 404 /cgi-bin/bad_urls.pl
ErrorDocument 401 /subscription_info.html
ErrorDocument 403 "Sorry can't allow you access today"
I tried the following
ErrorDocument 500 "500 TEST"
.... but that didn't work either :-(