AWstats template

Discussion in 'General' started by ozkan, Feb 5, 2010.

  1. ozkan

    ozkan Member


    Could you please tell me, where do I have to place my awstats.model.conf ?

    Also please have a look at this page:

    It's created by litespeed's awstats plugin.

    how can I show $vh_domain instead of localhost in static awstats pages?

    Localhost causes problems with links with main statistic page. You can see an example on
  2. mistwang

    mistwang LiteSpeed Staff

    awstats.model.conf should be in the conf/ directory under awstats working directory.
    change the vhost name from LSWS web console may help.
  3. NiteWave

    NiteWave Administrator

    in ls web admin console,

    select virtual host ""-->
    AWStats integration-->
    Site (default is localhost)
  4. ozkan

    ozkan Member

    I create my vritual hosts under templates. They're not instantiated.

    Is it possible to change it to a variable such as $vh_domain ?
  5. mistwang

    mistwang LiteSpeed Staff

    Yes, you can use $vh_domain
  6. ozkan

    ozkan Member

    My Litespeed installation is located under /usr/local. Where do I have to place the awstats.model.conf? Could you please give me the absolute path like: "/usr/local/lsws/conf/awstats.model.conf" ?
  7. mistwang

    mistwang LiteSpeed Staff

    that's the global model configuration file.
    For each vhost, you can have a model configuration file as well. Usually at somewhere under vhost root.
  8. ozkan

    ozkan Member

    I have changed the configuration file on this path. But I'm still having the the problem. Links are redirecting me to "localhost".

    Is this line true ?

  9. mistwang

    mistwang LiteSpeed Staff

    You cannot use it in awstats.model.con, only use $vh_domai in the vhost template, awstats integration section.

Share This Page