On 6/17/05, Tim Traver <[EMAIL PROTECTED]> wrote:

> CustomLog /local/logs/apache/access combined env=!dontlog
> 
> SetEnvIf Proxy_Addr "209\.132\.98\.35" dontlog
> 
> I have tested the following line, and it works :
> 
> SetEnvIf Remote_Addr "209\.132\.98\.35" dontlog
> 
> But I don't want to refuse logging of everything that is coming from
> that host, just the proxy requests.
> 
> I have looked and verified that "PROXY_ADDR" is set when a proxy request
> is coming in, but for some reason the SetEnvIf is not working based on
> that header...

Are you saying that PROXY_ADDR is an HTTP request header coming from the proxy?

I doubt that.  Underscores are not often seen in HTTP request headers.
 (But note that dashes are converted to underscores when a header is
converted to an env variable in mod_cgi, which may be confusing you. )
Perhaps the header is Proxy-Addr.

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

Reply via email to