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>
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
.
- Follow-Ups:
- Re: Apache 500 ErrorDocument not working
- From: Eli the Bearded
- Re: Apache 500 ErrorDocument not working
- From: ian diddams
- Re: Apache 500 ErrorDocument not working
- From: ian diddams
- Re: Apache 500 ErrorDocument not working
- From: ian diddams
- Re: Apache 500 ErrorDocument not working
- References:
- Apache 500 ErrorDocument not working
- From: ian diddams
- Re: Apache 500 ErrorDocument not working
- From: The Natural Philosopher
- Apache 500 ErrorDocument not working
- Prev by Date: Re: Apache 500 ErrorDocument not working
- Next by Date: Re: Apache 500 ErrorDocument not working
- Previous by thread: Re: Apache 500 ErrorDocument not working
- Next by thread: Re: Apache 500 ErrorDocument not working
- Index(es):