httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Question about custom logging
Date Sun, 08 Aug 2004 17:32:11 GMT
On Sun, 8 Aug 2004 17:50:31 +0100, Michael Thompson
<mike@thompsonmike.co.uk> wrote:
> Hi Users,
> 
>   I am trying to set my logging not to log when my search engine runs,
>   ignoring that particular user_agent.
> 
>   I have read the custom log documentation on the website, but I cant
>   quite get it.
> 
>   Can some one provide a example?

SetEnvIf User-Agent regex-matching-search-engine search-engine
CustomLog logs/access_log combined env=!search-engine

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


Mime
View raw message