That approach requires mod_perl though which makes for a heavy-weight
server if you don't already have it.  Try this for the same effect:


SetEnvIfNoCase Request_URI root\.exe|cmd\.exe|default\.ida worm_request
Deny from env=worm_request
CustomLog logs/access_log common env=!worm_request


Note that that last line is a replacement for your existing CustomLog
line.  You'll need to modify every CustomLog entry in your config file.

Andrew


On Fri, 18 Jul 2003, John Clarke wrote:

> Date: Fri, 18 Jul 2003 12:24:08 +1000
> From: John Clarke <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [SLUG] anti-nida apache conf mods ?
>
> On Thu, Jul 17, 2003 at 11:35:41PM +0000, Voytek Eymont wrote:
>
> > are there any worthwile httpd.conf mods to minimize impact or ?
>
> This rejects the request without logging it:
>
>     http://www.torkington.com/vermicide.txt
>
>
> Cheers,
>
> John
>

--

No added Sugar.  Not tested on animals.  May contain traces of Nuts.  If
irritation occurs, discontinue use.

-------------------------------------------------------------------
Andrew McNaughton           In Sydney
                            Working on a Product Recommender System
[EMAIL PROTECTED]
Mobile: +61 422 753 792     http://staff.scoop.co.nz/andrew/cv.doc



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to