[vox-tech] Apache, IE, error 404

Rod Roark vox-tech@lists.lugod.org
Thu, 27 Jun 2002 07:22:28 -0700


=46rom Apache's default httpd.conf:

# Customizable error response (Apache style)
#  these come in three flavors
#
#    1) plain text
#ErrorDocument 500 "The server made a boo boo.
#  n.b.  the (") marks it as text, it does not get output
#
#    2) local redirects
#ErrorDocument 404 /missing.html
#  to redirect to local URL /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
#  N.B.: You can redirect to a script or a document using server-side-inc=
ludes.
#
#    3) external redirects
#ErrorDocument 402 http://some.other_server.com/subscription_info.html
#  N.B.: Many of the environment variables associated with the original
#  request will *not* be available to such a script.

Looks like #2 is what you are mostly wanting.

-- Rod
   http://www.sunsetsystems.com/

On Thursday 27 June 2002 12:04 am, nbs wrote:
> On Wed, Jun 26, 2002 at 11:49:23PM -0700, Rod Roark wrote:
> > I think you can fix this on the browser side by going
> > into IE's settings and unchecking "show friendly HTTP
> > error messages"... or something like that.
> >
> > That's right, MS thinks that showing what caused an error
> > is "unfriendly".
>
> I can't exactly do this from my webserver. :)
> (That's my point... I'm trying to circumvent Microsoft's idiocy)
>
> -bill!