Order allow,deny
Allow from all
Require all granted
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
Permissions:
drwxrwSr-- 2 www-data www-data 4096 Sep 23 13:04 /usr/local/awstats/wwwroot/cgi-bin/
drwxr-s--- 6 www-data www-data 4096 Aug 27 16:16 /usr/local/awstats/wwwroot/
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.
--
Thanks,
Menashè
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx