Awstats and vhosts

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Awstats and vhosts

Post 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?
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

I don't see where you allow the option ExecCGI
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post 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.
Post Reply