Change response status from 403 to 404

--_972efd1b-5e78-4b31-9892-bbc6213f0ee1_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hello=2C



Is there an easy way to change the response status in the http header from =
403 to 404 by configuring the file "httpd.conf"? The reason for doing this =
is to prevent hackers from guessing forbidden web contents by looking for 4=
03 in the http header of the response.



Thanks=2C

Xibin

____________________________________________________________ _____
Ready. Set. Get a great deal on Windows 7. See fantastic deals on Windows 7=
now
http://go.microsoft.com/?linkid=3D9691818=

--_972efd1b-5e78-4b31-9892-bbc6213f0ee1_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
..hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Verdana
}
--></style>
</head>
<body class=3D'hmmessage'>
Hello=2C<BR>
 =3B<BR>
Is there an easy way to change the response status in the http header from =
403 to 404 by configuring the file "httpd.conf"? The reason for doing this =
is to prevent =3Bhackers from guessing forbidden web contents by lookin=
g for 403 in the http header of the response.<BR>
 =3B<BR>
Thanks=2C<BR>
Xibin<BR>
<hr />Get a great deal on Windows 7 and see how =
it works the way you want. <a href=3D'http://go.microsoft.com/?linkid=3D969=
1813' target=3D'_new'>See the Windows 7 offers now.</a></body>
</html>=

--_972efd1b-5e78-4b31-9892-bbc6213f0ee1_--
Xibin Liu [ Mi, 23 Dezember 2009 15:40 ] [ ID #2026897 ]

Re: Change response status from 403 to 404

Depending on which Version of Apache you are using, mod_headers may be
of assistance
http://httpd.apache.org/docs/2.0/mod/mod_headers.html

On Thu, Dec 24, 2009 at 1:40 AM, Xibin Liu <xibin_liu [at] hotmail.com> wrote:
> Hello,
>
> Is there an easy way to change the response status in the http header fro=
m
> 403 to 404 by configuring the file "httpd.conf"? The reason for doing thi=
s
> is to prevent=A0hackers from guessing forbidden web contents by looking f=
or
> 403 in the http header of the response.
>
> Thanks,
> Xibin
>
> ________________________________
> Get a great deal on Windows 7 and see how it works the way you want. See =
the
> Windows 7 offers now.



--
"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Devraj Mukherjee [ Mi, 23 Dezember 2009 23:39 ] [ ID #2026902 ]

Re: Change response status from 403 to 404

On Wed, Dec 23, 2009 at 5:39 PM, Devraj Mukherjee <devraj [at] gmail.com> wrote:
> Depending on which Version of Apache you are using, mod_headers may be
> of assistance
> http://httpd.apache.org/docs/2.0/mod/mod_headers.html

How would that help, and why would it depend on the version of Apache?

--
Eric Covener
covener [at] gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Eric Covener [ Do, 24 Dezember 2009 01:03 ] [ ID #2026995 ]

Re: Change response status from 403 to 404

Xibin Liu wrote:
> Hello,
>
> Is there an easy way to change the response status in the http header
> from 403 to 404 by configuring the file "httpd.conf"?

I suggest you read
http://bahumbug.wordpress.com/2008/09/16/security-by-cookery /

If you still want to hack it, for example a .asis errordocument.

--
Nick Kew

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Nick Kew [ Do, 24 Dezember 2009 01:54 ] [ ID #2026996 ]
Webserver » gmane.comp.apache.user » Change response status from 403 to 404

Vorheriges Thema: URL re-writing problem
Nächstes Thema: Localized Apache webserver