[Pkg-awstats-devel] Bug#435028: awstats don't allow to use gzipped logs from command line

Alex V. Breger osgxdvyg at gmail.com
Sat Jul 28 16:10:13 UTC 2007


Package: awstats
Version: 6.5+dfsg-1
Severity: normal

In the config the LogFile option can be given in form of
"gzip -d </var/log/apache/access.log.gz |"
But This form can't be used when starting from command line
$ awstats.pl -LogFile="gzip -d </var/log/apache2/access.log.12.gz |"
Update for config "/hidden/"
With data in log file "gzip -d "...
Error: Couldn't open server log file "gzip -d " : No such file or
directory

This is caused by
/usr/lib/cgi-bin/awstats.pl:5586
        $QueryString = CleanFromCSSA($QueryString);

Do we really need a CleanFromCSSA() when running from command line?

Workaround: comment line 5586

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')


-- 
WBR, Alex V Breger




More information about the Pkg-awstats-devel mailing list