Hi,
I'm trying to install AWStats on a RH ES4 machine.
I've configured my Apache files but I get a 404 so I was hoping you guys could help me out
My AWStats files exist in /usr/share/awstats/wwwroot
My webserver document root is /var/www/vhosts/example.org/httpsdocs
It's a virual host so I edited this file:
Code:
/var/www/vhosts/example.org/conf/httpd.include
and added the following:
Code:
<VirtualHost 111.111.111.111:443>
ServerName www.example.org
ServerAlias example.org
DocumentRoot /var/www/vhosts/example.org/httpsdocs
ServerAdmin admin@example.org
</VirtualHost>
<VirtualHost 111.111.111.111:80>
ServerName www.example.org
ServerAlias example.org
DocumentRoot /var/www/vhosts/example.org/httpdocs
ServerAdmin admin@example.org
</VirtualHost>
in the hopes that this URL:
Code:
http://example.org/cgi-bin/awstats.pl?config=example.org
or
Code:
https://example.org/cgi-bin/awstats.pl?config=example.org
(just using HTTPS there) will both show me the AWStats UI.
I also have this in my httpd.conf:
Code:
#
# Directives to allow use of AWStats as a CGI
#
Alias /awstatsclasses "/usr/share/awstats/wwwroot/classes/"
Alias /awstatscss "/usr/share/awstats/wwwroot/css/"
Alias /awstatsicons "/usr/share/awstats/wwwroot/icon/"
ScriptAlias /awstats/ "/usr/share/awstats/wwwroot/cgi-bin/"
#
# This is to permit URL access to scripts/files in AWStats directory.
#
<Directory "/usr/share/awstats/wwwroot">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Does anyone see what I'm doing wrong?
Thanks for your time