|
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 (11a
GMX.NET)Date: Sat Jul 08 2000 - 08:06:07 CDT
- Next message: Ben Kruger: "3-Com LanPlex 6000 Password Removal"
- Previous message: tgs: "Re: apache and 404/404 status codes"
- In reply to: tgs: "Re: apache and 404/404 status codes"
- Next in thread: Slawek: "Re: apache and 404/404 status codes"
- Reply: Bluefish: "Re: apache and 404/404 status codes"
- Reply: Slawek: "Re: apache and 404/404 status codes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > > 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
message[tm])
However!
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
- Next message: Ben Kruger: "3-Com LanPlex 6000 Password Removal"
- Previous message: tgs: "Re: apache and 404/404 status codes"
- In reply to: tgs: "Re: apache and 404/404 status codes"
- Next in thread: Slawek: "Re: apache and 404/404 status codes"
- Reply: Bluefish: "Re: apache and 404/404 status codes"
- Reply: Slawek: "Re: apache and 404/404 status codes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]