RE: [users@httpd] Ignore requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am not going to ask why logs are printed in real-time to a dot-matrix printer. Maybe that is next best to sounding an alarm bell?

Apart from using something like "Redirect(Match)? (403|gone) /sumthin" which you already do, what about directing error logs to a pipe that filters the entries you do not want to print?

-ascs

-----Original Message-----
From: Joshua Slive [mailto:jslive@xxxxxxxxx] 
Sent: Tuesday, May 10, 2005 6:27 PM
To: users@xxxxxxxxxxxxxxxx; Joel Bjurström
Subject: Re: [users@httpd] Ignore requests

On 5/9/05, Joel Bjurström <maxxflow@xxxxxxxxx> wrote:
> I've been a victim for this annoying /sumthin-attack, I get quite a 
> few requests for that dir, that's very annoying, 'cause my (not very
> silent) dot-matrix printer is printing my error_log ;) So now i wonder 
> if i can make apache simply ignore requests for /sumthin, so it gives 
> no http-header, nothing.
> Now I'm using "Redirect gone /sumthin" in my .htaccess, so I don't get 
> any errors in error_log, but it would (IMO) be better to just drop the 
> request. Is that possible?

No.  Apache doesn't drop requests.

I think you are addressing the problem from the wrong angle.  Your problem is a very bad log management system.  If you managed your logs more efficiently, these requests wouldn't be a problem.

Joshua.

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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux