On 6/17/05, Tim Traver <tt-list@xxxxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx