C
crispy78
Guest
I'm trying to run AWstats as an CGI (mostly because I want the menubar on the left instead on top). U till now I can't seem to get it to work.
I'm running OpenSuse 10.2 with Plesk 8.3.
In my httpd.conf (located in /etc/apache2/) I've added the following:
In the Awstats-configuration files (awstats.model.conf located in /usr/local/psa/etc/awstats/) I've changed:
In the Plesk-configuration file (psa.conf located in /etc/psa/) I've changed the standard values to:
And I've chmodded awstats.pl to 755 (with chmod 755 awstats.pl).
Any idea's how to get AWstats working as a CGI-application?
I'm running OpenSuse 10.2 with Plesk 8.3.
In my httpd.conf (located in /etc/apache2/) I've added the following:
#
# Directives to allow use of AWStats as a CGI
#
Alias /awstatsclasses "/srv/www/cgi-bin/awstats/"
Alias /awstatscss "/usr/share/apache2/icons/awstats/css/"
Alias /awstatsicons "/usr/share/apache2/icons/awstats/icon/"
ScriptAlias /awstats/ "/usr/share/awstats/wwwroot/cgi-bin/"
#
# This is to permit URL access to scripts/files in AWStats directory.
#
<Directory "/srv/www/cgi-bin/awstats">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/share/apache2/icons/awstats/css">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/share/apache2/icons/awstats/icon">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/share/awstats/wwwroot/cgi-bin">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
In the Awstats-configuration files (awstats.model.conf located in /usr/local/psa/etc/awstats/) I've changed:
intoAllowToUpdateStatsFromBrowser=0
AllowToUpdateStatsFromBrowser=1
In the Plesk-configuration file (psa.conf located in /etc/psa/) I've changed the standard values to:
# AWStats
AWSTATS_ETC_D /etc/awstats
AWSTATS_BIN_D /srv/www/cgi-bin/awstats
AWSTATS_TOOLS_D /usr/share/awstats
AWSTATS_DOC_D /usr/share/apache2/icons/awstats
And I've chmodded awstats.pl to 755 (with chmod 755 awstats.pl).
Any idea's how to get AWstats working as a CGI-application?