Menu

Virtual hosts in one access log?

2008-09-17
2012-10-11
  • Wells Oliver

    Wells Oliver - 2008-09-17

    Can you configure awstats to properly show stats per virtual host if all virtual hosts are writing to one access log?

     
    • Jean-Luc

      Jean-Luc - 2008-09-17

      Yes, if there is a virtual host field in each row in the logs. This field is called %virtualname in the AWStats LogFormat. SiteDomain and HostAliases must be the virtual host name.

      Jean-Luc
      http://www.internetofficer.com/awstats/

       
    • Slick Willy

      Slick Willy - 2008-09-17

      Agreed, Jean-Luc. You can also do it if each virtual domain is wholly within a distinct directory tree. See the prior recent posts on filtering by directory.

       

Log in to post a comment.