AWstats template

#1
Hello,

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


Also please have a look at this page:

Code:
sihirlitur.com/stats/
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
Code:
sihirlitur.com/stats/awstats.sihirlitur.com.urldetail.html
 

mistwang

LiteSpeed Staff
#2
awstats.model.conf should be in the conf/ directory under awstats working directory.
change the vhost name from LSWS web console may help.
 

NiteWave

Administrator
#3
in ls web admin console,

select virtual host "sihirlitur.com"-->
Add-ons-->
AWStats integration-->
Site Domain:sihirlitur.com (default is localhost)
 
#4
I create my vritual hosts under templates. They're not instantiated.

Is it possible to change it to a variable such as $vh_domain ?
 
#6
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" ?
 

mistwang

LiteSpeed Staff
#7
/usr/local/lsws/add-ons/awstats/wwwroot/cgi-bin/awstats.model.conf
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
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 ?

SiteDomain="$vh_domain"
 
Top