MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Tips and Tricks => Topic started by: insanity on 2013-03-26, 08:06:53
-
I see awstats not work on nginxproxy eg when you try to see stats browser only prompt to download the .pl file
Fix: in /home/nginx/conf/globals/awstats.conf comment all lines
# rewrite ^/stats http://$domain/awstats/awstats.pl?config=$domain permanent;
#
# location /awstatsclasses/ {
# alias /home/kloxo/httpd/awstats/wwwroot/classes/$1;
# }
#
# location ~ ^/awstatsicons/(.*)$ {
# alias /home/kloxo/httpd/awstats/wwwroot/icon/$1;
# }
#
# location ~ ^/awstatscss/(.*)$ {
# alias /home/kloxo/httpd/awstats/wwwroot/css/$1;
# }
#
# location ~ ^/awstats/(.*)$ {
# alias /home/kloxo/httpd/awstats/wwwroot/cgi-bin/$1;
# if (-e $request_filename) {
# rewrite ^/awstats/(.*)$ /home/kloxo/httpd/awstats/wwwroot/cgi-bin/$1 last;
# }
# }
service nginx restart
and awstats will work normal
-
Send this to Mustafa...
-
big chance that this will be seen since its his forum ;)
-
Not importance for latest Kloxo-MR 6.5.0.f just install install kloxomr-stats-awstats dan then chmod 755 for all *.pl inside /home/kloxo/httpd/awstats
-
how can i create the stats for all domains allways 24h
and how settings that the button in awstats to create new stats
-
how can i create the stats for all domains allways 24h
and how settings that the button in awstats to create new stats
Make sure scavenge is running. BTW does disk usage count work for you ?
-
scavenge for awstats ?
-
scavenge for awstats ?
Not actual. See this: viewtopic.php?f=5&t=7327 (http://forum.mratwork.com/viewtopic.php?f=5&t=7327)