Tim Wunder wrote:

> Previously, Douglas J Hunley chose to write:
> 
>>Tim Wunder babbled on about:
>>
>>>OK, I checked, I have mod_rewrite loaded. Where do I go to find out how
>>>to use it? Any further clues you might offer would be appreciated.
>>>
>>shit. figures you'd ask... ;)
>>
>>try http://www.google.com/linux?q=nimda+mod_rewrite
>>
>>that might bring up a list archive or two with how to prevent the logging
>>(I saw it on a list, but I forget which)
>>
> 
> Found this 
> <Location /> 
> RewriteEngine On 
> RewriteRule cmd\.exe / [NC,L] 
> RewriteRule root\.exe / [NC,L] 
> RewriteRule Admin\.dll / [NC,L] 
> RewriteRule default\.ida / [NC,L] 
> </Location> 
> at
> http:[EMAIL PROTECTED]
> 
> Not sure what it does, though. I'll stick it in my httpd.conf file, for 
> kicks. <snip>


All these commands do is redirect requests for cmd.exe, root.exe, 
Admin.dll and default.ida to my main web page. It still hits the log, 
and I get as many requests now as I did before, 'cept instead of servin' 
up the 404 error page, it serves up my index.html page.

I'm gonna do some more reading on the Apache site, see what helpful 
hints might be there. The Apache site has some decent docs, info on 
mod_rewrite's RewriteRule is here 
http://httpd.apache.org/docs/mod/mod_rewrite.html#RewriteRule

Tim





_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to