FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-05-2009, 08:39 AM
Johannes Frandsen
 
Default AWstats problems

Hi

I have in the last few days tried to get awstats up and running on my
gentoo box but without any luck.


I have emerge awstats without any problems and added this to my apache
configuration (/etc/apache/httpd.conf)


#AWStats configuration
Alias /awstatsclasses "/usr/share/webapps/awstats/6.9-r1/htdocs/
classes/"

Alias /awstatscss "/usr/share/webapps/awstats/6.9-r1/htdocs/css/"
Alias /awstatsicons "/usr/share/webapps/awstats/6.9-r1/htdocs/icon/"
ScriptAlias /awstats/ "/usr/share/webapps/awstats/6.9-r1/htdocs/cgi-
bin/"


<Directory "/usr/share/webapps/awstats/6.9-r1/hostroot/cgi-bin/">
Options +ExecCGI +FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<Directory /usr/share/webapps/awstats/6.9-r1/htdocs/s>
Order allow,deny
Allow from all
</Directory>

Include /etc/apache2/awstats.conf



I have added this to my vhost file

CustomLog /var/log/apache2/www.testsite.test/access_log combined

and restarted my apache server.

I can run

/usr/share/webapps/awstats/6.9-r/hostroot/cgi-bin/awstats.pl -config=www.testsite.test
-update


and it seem to perform the operation fine...

The problem occurs when I try to view awstats in my browser:

http://www.testsite.test/awstats/awstats.pl?config=www.testsite.test

Then I get a http 403 error:

Forbidden

You don't have permission to access /awstats/awstats.pl on this server.


I have tried a lot of guides and howto after browsing google, but non
of them seems to do the final trick of letting me access awstats


Do anyone know of a solution to the 403 error or a reference to a up-
to-date guide on how to setup awstats on gentoo.


Regards

Joe
 

Thread Tools




All times are GMT. The time now is 02:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org