> On Sun, 9 Sep 2007 21:04:02 -0400 (EDT) > Jason Carson wrote: > >> I've installed awstats on my server but when I go to access them from >> http://canuckster.org/awstats/awstats.pl it says... >> >> "Forbidden >> You don't have permission to access /awstats/awstats.pl on this >> server" >> >> What do I do? > > Hi Jay, > > The obvious questions: > > What are the permissions? > Have you checked the apache logs for messages? > > I've got it running on a non-gentoo machine. It's > in /var/www/mydomain/cgi-bin and permitted as: > > -rwxr-xr-x 1 root root 527395 Feb 25 2005 awstats.pl* [ > > HTH, > > David > I have the same permissions. I also have awstats.pl in two locations...
1)/var/www/localhost/cgi-bin/awstats.pl 2)/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl I think the second one is what matters, here is part of my /etc/apache2/vhosts.d/00_default_vhost.conf (apache 2.2.6 released today) Alias /awstats/classes "/usr/share/webapps/awstats/6.5-r1/htdocs/classes/" Alias /awstats/css "/usr/share/webapps/awstats/6.5-r1/htdocs/css/" Alias /awstats/icons "/usr/share/webapps/awstats/6.5-r1/htdocs/icon/" ScriptAlias /awstats/ "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/" ScriptAlias /awstats "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl" ScriptAlias /awstats.pl "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl" <Directory "/usr/share/webapps/awstats/6.5-r1/htdocs"> Options None AllowOverride None <IfModule mod_access.c> Order allow,deny Allow from all </IfModule> </Directory> <Directory "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin"> Options ExecCGI AllowOverride None <IfModule mod_access.c> Order allow,deny Allow from all </IfModule> </Directory> -- [EMAIL PROTECTED] mailing list