Help w/ ErrorDocument in apache

Help w/ ErrorDocument in apache

Post by Morten Wittroc » Tue, 09 Nov 1999 04:00:00

>I'm having the hardest time configuring the customized error document in
>I edit the srm.conf file and put in:
>ErrorDocument 404 /missing.html
>In my web root folder /home/httpd/html/ I have missing.html.
>Whenever I access the site with IE5, it brings up the default IE error
message (even
>after I've deleted all previous Temp Web files..). However, the message
comes up
>properly with Lynx. Someone told me that it's something in IE5.


I'm quite certain that if you telnet to your own server and issue "GET
/NON_EXISTING_FILE.HTML HTTP/1.0<CRLF>CRLF>", the server will indeed return
your custom HTML.

The HTTP/1.1 spec (RFC 2616) advises clients to display such HTML (10.4
Client Error 4xx):

"User agents SHOULD display any included entity [your HTML] to the user"

IE5 seems to ignore that advice though.


Morten Wittrock
Copenhagen, Denmark


1. Help with ErrorDocument Directive in Apache.

I have apache set up on Red Hat and am using basic authentication for a
directory access in one of my virtual hosts. I want to use a custom 401
error page when authorization fails. My question is: Where in the conf
file do I establish that if I just want that custom 401 page for that
specific virtual host only, not all the virtual hosts? Any help is
appreciated. Thanks in advance.


Sent via
Before you buy.

2. Infernal compiler errors...

3. APACHE: ErrorDocument help

4. Sun Apache optimization

5. Help w/ ErrorDocument in apache

6. Configuration files

7. Apache and INS

8. How can I calculate the throughput of a TCP server having many connections?

9. Apache 1.2.6: ErrorDocument rerouting...

10. Apache/CGI: How to toggle an ErrorDocument from a CGI ?

11. ErrorDocument POST - Apache/1.3b6

12. Apache ErrorDocument

13. Bug in Apache 1.3.12 with ErrorDocument 401?