Web Hosting Talk







View Full Version : Apache configuration


Epsilon
08-27-2001, 05:29 PM
This is a follow-up to my earlier question about my log files. I kept seeing requests for "default.ida" filling up my logs. Qslack advised me that it is the Code Red worm. I have a linux machine, so I'm not worried about the worm, but it is causing my log files to become overly large with several hundred request per day, and every one of them has about 2K of garbage tacked on to the end of the URL.

Is there a way I can configure Apache (through the Webmin interface) to reject requests for default.ida so it's not recorded to my access log?

valkaryn
08-27-2001, 11:18 PM
nope. not though webmin interface.

However, Apache is a great tool and it maybe possible to pass a grep statement to the logging directive so that it filters it. I have a similar problem, so I should play with it and see what kind of tricks. Normally, I would just filter it via mod_perl. But that's probably overkill, but I like mod_perl. It's pretty damn handy.

If I get it to work, I'll post the directive here for you. I'm sure others will find it usefull also.