setting the ErrorDocument directive
Posted: Wed Nov 30, 2005 10:13 am
Hello
I am doing some experiments with the ErrorDocument directive in my httpd.conf file
I tried the following:
I also tried
I restarted Apache and tested the code locally by going to http://localhost/nonexistingfile.html
I am not getting error.html nor my error message...
I can see the browser's caption: HTTP 404 Not Found
But I keep getting the regular default browser message...
what could I be doing wrong?
thanks in advance
I am doing some experiments with the ErrorDocument directive in my httpd.conf file
I tried the following:
Code: Select all
ErrorDocument 404 "No page for me - one year!"Code: Select all
ErrorDocument 404 "/error.html"I am not getting error.html nor my error message...
I can see the browser's caption: HTTP 404 Not Found
But I keep getting the regular default browser message...
what could I be doing wrong?
thanks in advance