Vulnerability Development mailing list archives
Re: apache and 404/404 status codes
From: 11a () GMX NET (Bluefish)
Date: Sat, 8 Jul 2000 15:06:07 +0200
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.htmlCorrect 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
Current thread:
- Re: Default passwords, (continued)
- Re: Default passwords Rodrigo Barbosa (Jul 05)
- Re: Default passwords M J (Jul 05)
- (no subject) The Incubus (Jul 05)
- (no subject) Chris A. Mattingly (Jul 05)
- (no subject) 3APA3A (Jul 06)
- (no subject) Slawek (Jul 07)
- Re: apache and 404/404 status codes Shelagh Pepper (Jul 07)
- Re: apache and 404/404 status codes Mikael Olsson (Jul 07)
- Re: apache and 404/404 status codes tgs (Jul 07)
- 3-Com LanPlex 6000 Password Removal Ben Kruger (Jul 07)
- Re: apache and 404/404 status codes Bluefish (Jul 08)
- Re: apache and 404/404 status codes Slawek (Jul 08)
- Re: apache and 404/404 status codes Vincent Zweije (Jul 08)
- Re: your mail Bluefish (Jul 07)
- Finding default passwords (fascinating, simple and fun!) Eric Knight (Jul 04)
- Default passwords using Cisco ConfigMaker Runar Jensen (Jul 05)
- Re: Default passwords using Cisco ConfigMaker Aidan O'Kelly (Jul 05)
- Re: Default passwords using Cisco ConfigMaker Runar Jensen (Jul 05)
- Re: Default passwords using Cisco ConfigMaker Aidan O'Kelly (Jul 05)
- Re: Default passwords using Cisco ConfigMaker Damir Rajnovic (Jul 05)
- Re: Default passwords using Cisco ConfigMaker Runar Jensen (Jul 06)