Forum Moderators: DixonJones
LoadModule usertrack_module modules/mod_usertrack.so
Where do I go from here? Is there another configuration file I need to enable or edit? Thanks all.
Keith
You need to make some changes to your httpd.conf to record the tracking cookie:
<VirtualHost ..*..>
CustomLog /clients/visitour/docs/logs/visitour.referer_log
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{Cookie}n\""
CookieTracking On
CookieExpires "35 days"
</VirtualHost>
CustomLog ¦/usr/bin/cronolog.exe /clients/visitour/docs/logs/%Y.%m.%d.access.log
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{Cookie}n\"
Larry
I got a failure message after I made my entry and tried to start httpd.
This is what I put in httpd.conf:
<VirtualHost 10.0.0.14>
CustomLog /clients/visitour/docs/logs/visitour.referer_log
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{Cookie}n\""
CookieTracking On
CookieExpires "35 days"
</VirtualHost>
Here is the failure message:
Starting httpd: Syntax error on line 1039 of /etc/httpd/conf/httpd.conf:
CustomLog takes two or three arguments, a file name, a custom log format string
or format name, and an optional "env=" clause (see docs)
[FAILED]
Nevermind. I figured out the arguments were on the line after the CustomLog.
However, I can't seem to find the log. Your configuration has it going to:
/clients/visitour/docs/logs/visitour.referer_log
Also, is the virtual host section the only section in the httpd.conf file I can insert the CustomLog configuration?
Keith