Home > Tech > Awstats under mod_perl

Awstats under mod_perl

December 27th, 2002

After some hassle I was able to get AWStats working under mod_perl. The trouble largely was my lack of experience with using mod_perl. I ended up creating an Alias for the AWStats icons directories since I was having problems with mod_perl trying to execute them otherwise. I figure there is a more elegant way to accomplish this, however, I need to read up on mod_perl some more.

Here is the apache config I am using…



# Config for AWStats - Cellini 12.26.2002

Alias /stats /home/httpd/awstats/cgi-bin

<IfModule mod_perl.c>
<Location /stats>
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
Options +ExecCGI
Order allow,deny
Allow from all
</Location>
</IfModule>

Alias /icon /home/httpd/awstats/icon
<Location /icon>
Order allow,deny
Allow from all
</Location>


Tech

  1. No comments yet.
  1. No trackbacks yet.