Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ErrorDocument with local URL

Status
Not open for further replies.

Hokey

MIS
Oct 28, 2000
178
US
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
 
This can happen if the error document is smaller than a certain size. I don't remember exactly, but I think it is either 128 or 256 bytes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top