httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: How to stop logging only certain directory?
Date Thu, 06 Jun 2002 03:35:45 GMT
Apolinaras Sinkevicius wrote:
> I need to stop logging just one directory in one of my
> virtual servers?
> Is there a way how to do it?
> I did following, but it still does not work:
> SetEnvIf Request_URI "^/crm/*" dontlog
> SetEnvIf Request_URI "^/crm/*^" dontlog
> SetEnvIf Request_URI "^/crm/admin/*" dontlog
> SetEnvIf Request_URI "^/crm/admin/*^" dontlog
> 	CustomLog /var/log/httpd/hawking_log
> common_with_mod_gzip_info2 env=!dontlog

SetEnvIf Request_URI ^/crm/ dontlog
should be enough, or maybe even
<Directory /path/to/crm/>
SetEnv dontlog
</Directory>

Joshua.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message