SiteDomain doesn't add up

nikos
2012-06-24
2012-10-11
  • nikos
    nikos
    2012-06-24

    I have log files where the website name (%virtualname) is sometimes with and
    sometimes without www, e.g
    zabkat.com
    www.zabkat.com

    I would imagine that this situation would be covered by setting
    SiteDomain="zabkat.com"
    HostAliases="www.zabkat.com"

    However what I get is COMPLEMENTARY results:
    when I have sitedomain zabkat.com (and www in hostaliases), I get hits to
    one kind of page
    when I reverse and set sitedomain www.zabkat.com and hostaliases
    zabkat.com, then I get completely different results

    What I need is the results of both cases, but how do I define these two
    awstats parameters?
    sorry if I am missing something basic