/usr/share/awstats/wwwroot/icon/ permissions

Discussion in 'Installation/Configuration' started by fast928, Oct 31, 2023.

Tags:
  1. fast928

    fast928 New Member HowtoForge Supporter

    Websites are seeing the alias paths etc but when accessing any of the aliases "http://whatever.com/awstatsicons/other/vk.png"
    for example, I get permission denied. What is the best permission to set for the "/usr/share/awstats/wwwroot" to have it work?
    Thanks, awstats version 7.8 centos 7.9
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    What are the current permissions of that folder? You could try e.g. 755 permission.
     
  3. fast928

    fast928 New Member HowtoForge Supporter

    The permissions are 755, applied to make sure & no change. After looking at the awstats.conf which is creating the aliases.
    I believe it's the permissions there via:
    <Directory "/usr/share/awstats/wwwroot">
    Options None
    AllowOverride None
    <IfModule mod_authz_core.c>
    # Apache 2.4
    Require local
    </IfModule>
    <IfModule !mod_authz_core.c>
    # Apache 2.2
    Order allow,deny
    Allow from 127.0.0.1
    Allow from ::1
    </IfModule>
    </Directory>
    # Additional Perl modules
    <IfModule mod_env.c>
    SetEnv PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins
    </IfModule>

    Am using the htaccess password built in ispconfig, would like accessible at least lan wise.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to comment out this part:

    Code:
    <IfModule mod_authz_core.c>
    # Apache 2.4
    Require local
    </IfModule>
    <IfModule !mod_authz_core.c>
    # Apache 2.2
    Order allow,deny
    Allow from 127.0.0.1
    Allow from ::1
    </IfModule>
    and restart apache to see if it works then.
     

Share This Page