On Wed, 19 Sep 2001, Lyle Brooks wrote:
> One motivation I have is for these virus attacks, I'd like to send out
> a 403 - Forbidden right at the beginning (say, when someone asks for
> default.ida) and then I'd like to have the option of not logging it to
> keep it from growing my logs and distorting my log reports.
>
> Is there anyway to selectively tell a request not to even log this?
> Disable the log handler for the current request, maybe?
Try something like this in your httpd.conf:
SetEnvIf Request_URI "/default.ida" dontlog
LogFormat "%h %V %u %{%D %T}t %>s %m %U%q" common
CustomLog /home/nick/logs/httpd_log common env=!dontlog
- nick
- Re: [OT] New Micro$oft vulnerability? Nathan Torkington
- RE: [OT] New Micro$oft vulnerability? Alex Porras
- Re: [OT] New Micro$oft vulnerability? Jeremy Howard
- Re: [OT] New Micro$oft vulnerability? lembark
- Re: [OT] New Micro$oft vulnerability? Reuven M. Lerner
- Re: [OT] New Micro$oft vulnerability? Nathan Torkington
- Re: [OT] New Micro$oft vulnerability? Larry Leszczynski
- RE: [OT] New Micro$oft vulnerability? Geoffrey Young
- RE: [OT] New Micro$oft vulnerability? Geoffrey Young
- RE: [OT] New Micro$oft vulnerability? Lyle Brooks
- RE: [OT] New Micro$oft vulnerability? Nick Tonkin
- RE: [OT] New Micro$oft vulnerability? Geoffrey Young
- Re: [OT] New Micro$oft vulnerability? Tim Peoples
- Re: [OT] New Micro$oft vulnerability? Tim Peoples
- Re: [OT] New Micro$oft vulnerability? Nathan Torkington
- Re: [OT] New Micro$oft vulnerability? Nathan Torkington
- Re: [OT] New Micro$oft vulnerability? Tim Peoples
- Re: [OT] New Micro$oft vulnerability? Ask Bjoern Hansen
