Results 1 to 2 of 2
Thread: awstats and lighttpd?
-
01-11-2006, 03:07 AM #1Junior Guru Wannabe
- Join Date
- Feb 2003
- Posts
- 30
awstats and lighttpd?
I just installed lighttpd to serve the images on my image hosting site and I have it listening on a different IP than apache, so both they are both running. I had heard that awstats can handle lighttpd access logs but I can't figure out for the life of me how to do it. I tried adding this line:
LogFormat = "%host %virtualname %logname %time1 %methodurl %code %bytesd %refererquot quot"
To my awstats config file, but still doesn't get any info out of my lighttpd log (even though I pointed the awstats config file to the lighttpd log).
Any ideas?
Thanks,
Joe
-
01-11-2006, 02:17 PM #2Web Hosting Master
- Join Date
- Jun 2003
- Posts
- 976
like i said in this thread http://www.webhostingtalk.com/showthread.php?t=471647
i use this logformat
Code:LogFormat="%host %virtualname %logname %time1 %methodurl %code %bytesd %refererquot quot"
Code:LogFile="access.log" LogType=W LogFormat="%host %virtualname %logname %time1 %methodurl %code %bytesd %refererquot quot" LogSeparator=" " SiteDomain="www.domain.org"
call the config file awstats.test.conf
Code:awstats.pl --update --config=test
Code:awstats.pl -config=test -output -staticlinks > awstats.test.html