You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Andy Firman <an...@firman.us> on 2004/03/05 23:28:51 UTC
[users@httpd] SetEnvIf Remote_Addr dontlog question for apache-ssl on Debian
Hi,
I have apache and apache-ssl running on Debian stable and
don't want to log hits from my laptop at 192.168.1.33.
This works for apache:
SetEnvIf Remote_Addr "192\.168\.1\.33" dontlog
CustomLog /var/log/apache/access.log combined env=!dontlog
This does NOT work for apache-ssl:
SetEnvIf Remote_Addr "192\.168\.1\.33" dontlog
CustomLog /var/log/apache-ssl/access.log combined env=!dontlog
I have read the apache docs on conditional logging and have restarted
the servers many times and can't figure it out.
Any ideas?
Thanks. Andy
---------------------------------------------------------------------
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