From: "Jason Carson" <jay@canuckster.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] awstats
Date: Mon, 10 Sep 2007 04:34:25 -0400 (EDT) [thread overview]
Message-ID: <44305.66.11.182.5.1189413265.squirrel@canuckster.org> (raw)
In-Reply-To: <20070910085539.2aca5a56@krikkit.digimed.co.uk>
> Hello Jason Carson,
>
>> 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,
>
> You should be using the first one, read the webapp-config man page, or
> http://dev.gentoo.org/~rl03/webapp-config.html if you don't have
> webapp-config installed, for an explanation.
>
>
> --
> Neil Bothwick
>
> Politically Incorrect -- and damn proud of it!
>
yeah, I did the following...
webapp-config -I -h localhost -d awstats awstats 6.5-r1
and it worked, it told be to add the following to my apache config which I
did ...
#####################################################################
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>
##################################################################
These apache directives show /usr/share/webapps/awstats/... which is why I
thought the "2)" was more important.
Anyway, I still get the following error when I try and access my stats in
my web browser...
"Forbidden
You don't have permission to access /awstats/awstats.pl on this server."
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-09-10 8:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-10 1:04 [gentoo-user] awstats Jason Carson
2007-09-10 2:23 ` David Relson
2007-09-10 4:16 ` Jason Carson
2007-09-10 7:55 ` Neil Bothwick
2007-09-10 8:34 ` Jason Carson [this message]
2007-09-10 9:51 ` Naga
2007-09-10 16:15 ` Dan Farrell
2007-09-10 17:57 ` Stephen Wittig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44305.66.11.182.5.1189413265.squirrel@canuckster.org \
--to=jay@canuckster.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox