Re: sarge / apache 2.0.50 / awstats 6.1-2
In case if anyone is having the same issue, I was able to get awstats working
with the following Apache config file:
/etc/awstats/apache.conf
#
# Directives to add to your Apache conf file to allow use of AWStats as a CGI.
# Note that path "/usr/local/awstats/" must reflect your AWStats install path.
#
Alias /awstatsclasses "/usr/share/awstats/lib/"
Alias /awstatscss "/usr/share/doc/awstats/examples/css"
Alias /awstatsicons "/usr/share/awstats/icon/"
ScriptAlias /awstats "/usr/lib/cgi-bin/"
#
# This is to permit URL access to scripts/files in AWStats directory.
# Some security note here?
<Directory "/var/lib/awstats">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
--- rds <rustydstone@yahoo.com> wrote:
> Hi,
>
> Am having problems getting awstats 6.1-2 to work after installing it with:
> aptitude install awstats
>
> Does anyone have a working Apache cofing file for awstats/sarge install? I
> tried the following but I'm getting errors. All awstats files are in
> "standard"
> locations as per package definition.
>
> Thanks
>
> ------------------------------------
> /var/log/apache2/error.log
> ...
> Thu Sep 16 19:01:57 2004] [error] [client *.^.^.^] script not found or unable
> to stat: /usr/lib/cgi-bin/awstats
>
> ------------------------------------
> /etc/awstats/apache.conf (new file)
> Alias /awstatsclasses "/usr/share/lib/"
> Alias /awstatscss "/usr/share/doc/awstats/examples/css"
> Alias /awstatsicons "/usr/share/awstats/icon/"
> ScriptAlias /awstats/ "/usr/lib/cgi-bin/"
>
> #
> # This is to permit URL access to scripts/files in AWStats directory.
> #
> <Directory "/var/lib/awstats">
> Options None
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
>
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Reply to: