httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "apuerta.foros" <>
Subject [users@httpd] How can i put two env= clauses on a CustomLog directive?
Date Wed, 26 May 2004 19:13:24 GMT

 Hi all.

 My Apache 1.3.26 server is rear a proxy and i have a rule like this in
my http.conf:
SetEnvIfNoCase Client-IP "\." proxy

CustomLog /var/log/apache/ combined env=!proxy

CustomLog /var/log/apache/ combined_proxy

 I also have a router that tests the server, asking for test.jsp every
30 seconds. This fulls my logs of unnecesary contents. Think in adding
something like this:
SetEnvIf Remote_Addr "10\.162\.120\.1" dontlog

but i can't add this rule to the above because CustomLog don't accept
two env= rules

CustomLog /var/log/apache/ combined env=!proxy

CustomLog /var/log/apache/ combined_proxy
env=proxy env=!dontlog

 What can i do?
 Thanks for your help.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message