Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Subject: Re: apache and 404/404 status codes
From: Bluefish (11aGMX.NET)
Date: Sat Jul 08 2000 - 08:06:07 CDT

> > > Error codes can be mapped as follows (in conf or .htaccess files if
> > > FileInfo override permission has been granted):
> > > ErrorDocument 404 /Lame_excuses/not_found.html
> > > ErrorDocument 403 /Lame_excuses/not_found.html
> >
> > Correct me if I'm wrong, but this won't help, since if you look
> > at the HTTP response headers, it'll still say HTTP/403 and
> > HTTP/404, respectively.
> Apache gives a 302 directing the browser to the page, in either case.

Warning! This is wrong!

If you give a local path, it does NOT send a 404/403 message (if you
happen to use Microsoft Explorer it's really simple to check, 302's result
in the error message being showed, 403/404 get a Microsoft stupid

ErrorDocument 404 http://test.com/Lame_excuses/not_found.html
ErrorDocument 403 http://test.com/Lame_excuses/not_found.html

Will do the trick. (it becomes a 302)

     http://www.11a.nu || http://bluefish.11a.nu
    eleventh alliance development & security team