Re: SetEnvIf and query string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <ganeadaniel1979@xxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux