Page 1 of 1

Awstats and vhosts

Posted: Tue Jan 24, 2006 10:35 pm
by josh
I've installed awstats before so I know the deal and am fairly familiar with the config file.

Problem is this box is running 6 or 7 domains all of apache vhosts.


I've got

Code: Select all

# Directives to allow use of AWStats as a CGI
#
Alias /awstatsclasses "/usr/local/awstats/wwwroot/classes/"
Alias /awstatscss "/usr/local/awstats/wwwroot/css/"
Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/"
ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/"

#
# This is to permit URL access to scripts/files in AWStats directory.
#
<Directory "/usr/local/awstats/wwwroot">
    Options indexes
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
in my httpd.conf and I seem to be getting a 403 whenever I visit any of my domains/awstats/

I also tried loading it off the machine's IP, no good. Any takers?

Posted: Wed Jan 25, 2006 5:58 am
by timvw
I don't see where you allow the option ExecCGI

Posted: Wed Jan 25, 2006 1:07 pm
by josh
It shouldn't matter because scriptAlias allows cgi right?

Anyways added that option and I still get a 403, in fact I get a 403 for any scriptAlias I try to add, normal Alias' are working fine however.