Public bug reported:

Ubuntu 6.06.2 LTS (Dapper)

Upgrading to any awstats version from 6.5-1 onward (I have tried both
awstats_6.5-1ubuntu1.3_all.deb from dapper and awstats_6.6+dfsg-
1ubuntu0.1_all.deb from gutsy) breaks the HostAliases directive.  Prior
to this upgrade our awstats installation had been running fine for more
than a year.

In a specific configuration file (let's call it "myconf") we have:

LogFormat = 4
LogSeparator=" "
SiteDomain="mydomain.com"
HostAliases="REGEX[\"a-product-name\"$]"

Long ago we learned that the HostAliases directive was the only way to
get awstats to differentiate things with our logging structure (due to
adding on the "app-name" and "a-product-name" entries).

A sample web log line looks like this:

1.1.1.1 -  -  [13/Apr/2009:23:59:29 -0700] "POST /gateway/httpservlet
HTTP/1.1" 200 520 "-" "app-name" "a-product-name"

In the past this line would have been included when statistics were run
against the "myconf" configuration (e.g. '/usr/lib/cgi-bin/awstats.pl
-update -config=myconf') but not when any other config was run that
looked for a different "a-product-name" as defined in its HostAliases.

Since updating awstats all records in any of our weblogs get included
when any configuration is used, regardless whether its HostAliases
directive matches or not.

** Affects: awstats (Ubuntu)
     Importance: Undecided
         Status: New

-- 
HostAliases ignored
https://bugs.launchpad.net/bugs/361992
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to