User Tools

Site Tools


awstats

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
awstats [2011/03/12 03:42]
k2patel
awstats [2017/07/02 02:16] (current)
k2patel old revision restored (2011/03/12 03:45)
Line 86: Line 86:
    ​model="/​etc/​awstats/​awstats.model.conf"​    ​model="/​etc/​awstats/​awstats.model.conf"​
 else else
-   cp -f /usr/local/webair/​etc/​awstats.model.conf /​usr/​local/​www/​awstats/​cgi-bin/​awstats.model.conf+   cp -f /​usr/​local/​etc/​awstats.model.conf /​usr/​local/​www/​awstats/​cgi-bin/​awstats.model.conf
    ​model="/​usr/​local/​www/​awstats/​cgi-bin/​awstats.model.conf"​    ​model="/​usr/​local/​www/​awstats/​cgi-bin/​awstats.model.conf"​
 fi fi
  
 if [ -e /​etc/​clusterstats ]; then if [ -e /​etc/​clusterstats ]; then
-   ​domains=$(cat /​usr/​local/​logs/​*.webair.com/logmap | tr ' ' '​_'​ | sort | uniq)+   ​domains=$(cat /​usr/​local/​logs/​*.site.com/logmap | tr ' ' '​_'​ | sort | uniq)
 else else
    cat /​www/​apache/​conf/​httpd.conf | grep ServerName | grep ^S | awk '​{print $2, $2i"​-access.log"​}'​ > /​www/​logs/​logmap    cat /​www/​apache/​conf/​httpd.conf | grep ServerName | grep ^S | awk '​{print $2, $2i"​-access.log"​}'​ > /​www/​logs/​logmap
Line 100: Line 100:
    ​domain=$(echo $i | cut -d '​_'​ -f 1)    ​domain=$(echo $i | cut -d '​_'​ -f 1)
    if [ -e /​etc/​clusterstats ]; then    if [ -e /​etc/​clusterstats ]; then
-      log="/​usr/​local/​www/​awstats/​tools/​logresolvemerge.pl /​usr/​local/​logs/​*.webair.com/​$domain-access.log |"+      log="/​usr/​local/​www/​awstats/​tools/​logresolvemerge.pl /​usr/​local/​logs/​*.site.com/​$domain-access.log |"
    else    else
       log=/​www/​logs/​$(echo $i | cut -d '​_'​ -f 2)       log=/​www/​logs/​$(echo $i | cut -d '​_'​ -f 2)
awstats.1299901340.txt.gz ยท Last modified: 2011/03/12 03:42 by k2patel