Missing AWSTATS bar graphics in Debian Jessie

Discussion in 'General' started by webguyz, May 16, 2016.

  1. webguyz

    webguyz Active Member HowtoForge Supporter

    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?
     
  2. webguyz

    webguyz Active Member HowtoForge Supporter

    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.
     

    Attached Files:

  3. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  4. Nicram

    Nicram Member

    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.
     
  5. webguyz

    webguyz Active Member HowtoForge Supporter

    Unfortunately Debian Jessie /etc/awstats/awstats.conf does not have a line like that anywhere (awstats configure file 7.1)
    Thx
     
  6. Nicram

    Nicram Member

    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>
     
  7. webguyz

    webguyz Active Member HowtoForge Supporter

    here is what mine has
     

    Attached Files:

  8. webguyz

    webguyz Active Member HowtoForge Supporter

    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>
     
  9. webguyz

    webguyz Active Member HowtoForge Supporter

Share This Page