Hello,
I'm posting this message after an extensive research.
I have Apache/2.4.6 (Debian).
I get HTTP 403 for /awstats/awstats.pl ,
but also to /awstats/test.html
Apache error log shows that the alias points to the right
folder:
AH01630: client denied by server configuration:
/usr/local/awstats/wwwroot/cgi-bin/test.html
awstats.conf:
<Directory /var/lib/awstats>
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory /usr/share/awstats/icon>
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory /usr/share/java/awstats>
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /awstats-icon/ /usr/share/awstats/icon/
Alias /awstatsclasses/ /usr/share/java/awstats/
Alias /awstatscss "/usr/local/awstats/wwwroot/css/"
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/local/awstats/wwwroot">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory /usr/local/awstats/wwwroot/cgi-bin>
Order allow,deny
Allow from all
AddHandler cgi-script .cgi .pl
Options Indexes FollowSymLinks ExecCGI
Require all granted
</Directory>
I imagine that the solution is simple, but I don't see it.
Thanks in advance for any idea.