Gentoo Archives: gentoo-user

From: Jason Carson <jay@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] awstats
Date: Mon, 10 Sep 2007 04:29:08
Message-Id: 47047.66.11.182.5.1189397807.squirrel@canuckster.org
In Reply to: Re: [gentoo-user] awstats by David Relson
1 > On Sun, 9 Sep 2007 21:04:02 -0400 (EDT)
2 > Jason Carson wrote:
3 >
4 >> I've installed awstats on my server but when I go to access them from
5 >> http://canuckster.org/awstats/awstats.pl it says...
6 >>
7 >> "Forbidden
8 >> You don't have permission to access /awstats/awstats.pl on this
9 >> server"
10 >>
11 >> What do I do?
12 >
13 > Hi Jay,
14 >
15 > The obvious questions:
16 >
17 > What are the permissions?
18 > Have you checked the apache logs for messages?
19 >
20 > I've got it running on a non-gentoo machine. It's
21 > in /var/www/mydomain/cgi-bin and permitted as:
22 >
23 > -rwxr-xr-x 1 root root 527395 Feb 25 2005 awstats.pl* [
24 >
25 > HTH,
26 >
27 > David
28 >
29 I have the same permissions. I also have awstats.pl in two locations...
30
31 1)/var/www/localhost/cgi-bin/awstats.pl
32 2)/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl
33
34 I think the second one is what matters, here is part of my
35 /etc/apache2/vhosts.d/00_default_vhost.conf (apache 2.2.6 released today)
36
37 Alias /awstats/classes "/usr/share/webapps/awstats/6.5-r1/htdocs/classes/"
38 Alias /awstats/css "/usr/share/webapps/awstats/6.5-r1/htdocs/css/"
39 Alias /awstats/icons "/usr/share/webapps/awstats/6.5-r1/htdocs/icon/"
40 ScriptAlias /awstats/ "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/"
41 ScriptAlias /awstats
42 "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl"
43 ScriptAlias /awstats.pl
44 "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin/awstats.pl"
45
46 <Directory "/usr/share/webapps/awstats/6.5-r1/htdocs">
47 Options None
48 AllowOverride None
49 <IfModule mod_access.c>
50 Order allow,deny
51 Allow from all
52 </IfModule>
53 </Directory>
54
55 <Directory "/usr/share/webapps/awstats/6.5-r1/hostroot/cgi-bin">
56 Options ExecCGI
57 AllowOverride None
58 <IfModule mod_access.c>
59 Order allow,deny
60 Allow from all
61 </IfModule>
62 </Directory>
63
64
65
66
67 --
68 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] awstats Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] awstats Stephen Wittig <nofx911@×××××.com>