Used the Perfect Server Jesse with Apache tutorial and noticed that all the servers that have websites using AWSTATS are missing the bar graphics. The servers that have Debian Wheezy display the bar graphics just fine. This is on multiple servers. Did a Google and not finding a lot of recent articles. Anyone else running Debian Jessie with ISPConfig and using AWSTATS for statistics on their websites and can see the bar graphics? Or not?
Would anybody who is using ISPConfig with Debian Jessie and has a website using AWSTATS please verify for me that they have the bar graphs as those that I have attached. Thank you.
As far as I know, AWStats loads the graphs through a global alias. Maybe there is an global AWStats config file not loaded in apache.
I know it's quiet old topic. But i start to use AWStats on my CentOS 6 with ISPC 3.1, and had similar problem. To resolve this You must edit awstats.conf (in my case it is inside /etc/httpd/conf.d/), and change 1 line from: Allow from 127.0.0.1 to Allow from all This will fix the problem.
Unfortunately Debian Jessie /etc/awstats/awstats.conf does not have a line like that anywhere (awstats configure file 7.1) Thx
How does Your file looks. Mine got such inside: Code: # # Content of this file, with correct values, can be automatically added to # your Apache server by using the AWStats configure.pl tool. # # If using Windows and Perl ActiveStat, this is to enable Perl script as CGI. #ScriptInterpreterSource registry # # Directives to add to your Apache conf file to allow use of AWStats as a CGI. # Note that path "/usr/share/awstats/" must reflect your AWStats install path. # Alias /awstatsclasses "/usr/share/awstats/wwwroot/classes/" Alias /awstatscss "/usr/share/awstats/wwwroot/css/" Alias /awstatsicons "/usr/share/awstats/wwwroot/icon/" ScriptAlias /awstats/ "/usr/share/awstats/wwwroot/cgi-bin/" # # This is to permit URL access to scripts/files in AWStats directory. # <Directory "/usr/share/awstats/wwwroot"> Options None AllowOverride None Order allow,deny Allow from all </Directory> # Additional Perl modules <IfModule mod_env.c> SetEnv PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins </IfModule>
I think I found what your looking for in the /etc/apache2/sites-enabled/ispconfig.conf # allow path to awstats and alias for awstats icons <Directory /usr/share/awstats> Require all granted </Directory>
Problem resolved. I found a Howtoforge article in German I was able to translate (Thank God for Google The answer was to add the following line in the ispconfig.conf file: Alias /awstats-icon "/usr/share/awstats/icon" Found in: https://www.howtoforge.de/forum/thr...hlt-in-sites-enabled-000-ispconfig-conf.9093/ Nicram, Thanks for making me look at this again and helping me get on the right track!!