I am experiancing a problem with the ErrorDocument directive in my httpd.conf.
If I use an external URL:
ErrorDocument 404
The 404 error page is displayed with no problems.
But if I use a local URL:
ErrorDocument 404 /errors/404.html
OR if I use a customized message
ErrorDocument 404 "There was a 404 error
The server does not redirect to the 404 error page or display the customized message and the browser displays the NCSA hard coded messages.
Does anyone have an idea what could be causing this problem?
Thanks
If I use an external URL:
ErrorDocument 404
The 404 error page is displayed with no problems.
But if I use a local URL:
ErrorDocument 404 /errors/404.html
OR if I use a customized message
ErrorDocument 404 "There was a 404 error
The server does not redirect to the 404 error page or display the customized message and the browser displays the NCSA hard coded messages.
Does anyone have an idea what could be causing this problem?
Thanks