> -----Original Message-----
> From: Amador, Orlando M. [OBIPR] [mailto:[EMAIL PROTECTED] 
> Sent: Monday, October 23, 2006 7:06 PM
> To: 'users@httpd.apache.org'
> Subject: [EMAIL PROTECTED] Suppressing 403 log entries
> 
> 
> I have limited the access to a folder using the allow 
> directive.  I like to stop logging the 403 responses on the 
> error and access log.
> 
> Looked at conditional logging, but it seems that the 
> environment variables are set based on the request values not 
> the response.  
> 
> Any suggestion how can one suppress the logging of 403 
> responses for  a particular folder? 

AFAIK, the logging in apache is done at a very basic level and is not
switch-off-able (neither should it be - logs are important).

However, it's a bit of a non-problem... if you don't like looking at
403s, filter them out with a perl-script before you open the log file
(from the docs, "...It is often easier to simply post-process the log
files to remove requests that you do not want to consider...").

Alternatively, remember that you can write logs to pipe so you can put a
filter script there that discards 403s or whatever...
(http://httpd.apache.org/docs/2.2/logs.html#piped)

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> 
> Saludos,
> Orlando 
> 
> Orlando M. Amador
> Technology Lead
> Ortho Biologics LLC
> [EMAIL PROTECTED]
> (787) 854-1800 x2294 
> 
> Confidentiality Notice: This e-mail transmission may contain 
> confidential or legally privileged information that is 
> intended only for the individual or entity named in the 
> e-mail address. If you are not the intended recipient, you 
> are hereby notified that any disclosure, copying, 
> distribution, or reliance upon the contents of this e-mail is 
> strictly prohibited. If you have received this e-mail 
> transmission in error, please reply to the sender, so that 
> Johnson & Johnson can arrange for proper delivery, and then 
> please delete the message from your inbox. Thank you. 
> 
>
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to