i want custom logs for the n directory paths: directory1and
directory2, directoryn
the log format now
 LogFormat "%h %v %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\" \"%{Cookie}i\"" test
 SetEnvIf Request_URI "^/directory1" customvar
 SetEnvIf Request_URI "^/__utm\.gif$" customvar
 CustomLog "|/usr/sbin/rotatelogs2
/app/logs/www/access/www.mywebsite.com_directory1_%Y%m%d.log 86400"
test env=customvar
query string for the gif:
/__utm.gif?hgn&utma=trtretrer&utmd=hgjhgjg..

On Tue, Nov 2, 2010 at 10:08 PM, Daniel Ganea <ganeadaniel1...@gmail.com> wrote:
> Can i use SetEnvIf and query string for logging different directory path?
>

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to