Results 1 to 2 of 2
  1. #1
    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

  2. #2
    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"
    and made an new config for lighttpd like
    Code:
    LogFile="access.log"
    LogType=W
    LogFormat="%host %virtualname %logname %time1 %methodurl %code %bytesd %refererquot quot"
    LogSeparator=" "
    SiteDomain="www.domain.org"
    SiteDomain is same value as %virtualname in the log file
    call the config file awstats.test.conf
    Code:
    awstats.pl --update --config=test
    does update the stats and stuff like
    Code:
    awstats.pl -config=test -output -staticlinks > awstats.test.html
    does create the stat pages

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •