Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-29, 11:01:57

Author Topic: AWStats on nginxproxy  (Read 17878 times)

0 Members and 1 Guest are viewing this topic.

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
AWStats on nginxproxy
« 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

Code: [Select]
#    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;
      #  }
#    }


Code: [Select]
service nginx restart
and awstats will work normal
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: AWStats on nginxproxy
« Reply #1 on: 2013-04-11, 18:46:46 »
Send this to Mustafa...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline lupetalo

  • Senior Member
  • *
  • Posts: 182
  • Karma: +0/-0
    • View Profile
Re: AWStats on nginxproxy
« Reply #2 on: 2013-04-19, 19:58:43 »
big chance that this will be seen since its his forum ;)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: AWStats on nginxproxy
« Reply #3 on: 2013-04-20, 01:31:17 »
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
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: AWStats on nginxproxy
« Reply #4 on: 2013-04-22, 16:26:34 »
how can i create the stats for all domains   allways 24h

and how settings that the button in awstats to create new stats
« Last Edit: 1970-01-01, 01:00:00 by Guest »
KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: AWStats on nginxproxy
« Reply #5 on: 2013-04-22, 16:55:42 »
Quote from: "ibuxxi"
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 ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: AWStats on nginxproxy
« Reply #6 on: 2013-04-22, 18:33:58 »
scavenge for awstats ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: AWStats on nginxproxy
« Reply #7 on: 2013-04-22, 18:44:43 »
Quote from: "ibuxxi"
scavenge for awstats ?

Not actual. See this: viewtopic.php?f=5&t=7327
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.029 seconds with 18 queries.

web stats analysis