httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cc ...@belfordhk.com>
Subject Re: [users@httpd] blocking one address
Date Fri, 29 Aug 2003 02:29:18 GMT
Mike wrote:
> # Redirect Code Red, NIMDA and other inappropriate access attempts to
> invalid URL
> Redirect /_mem_bin http://www.request.invalid
> Redirect /_vti_bin http://www.request.invalid
> Redirect /c http://www.request.invalid
> Redirect /d http://www.request.invalid
> Redirect /msadc http://www.request.invalid
> Redirect /MSADC http://www.request.invalid
> Redirect /scripts http://www.request.invalid
> Redirect /sumthin http://www.request.invalid
> RedirectMatch ^.*\.(dll|ida)*$ http://127.0.0.1/$1
> RedirectMatch (.*)\cmd.exe$ http://127.0.0.1/$1
> 
> Put those in your httpd.conf file (assuming you have access to your box
> and assuming the machine isn't a windoze web server) and then restart
> apache.
> 

First post on this list, but I believe this suggestion is a
great one!   I was thinking of using squid to proxy all
those, or some other app, but I guess this is even
better!

Btw, would these Redirects be logged as well?

Thanks Mike!




---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message