Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.3. Tutorial

How to install AWStats Extension in Windows/Apache environments

by Jesper Scheuer Nielsen <jesper@scheuers.dk>

1. Install Perl (if not installed) in fx. /apache2/cgi-bin/ (Ex. ActivePerl from http://www.activestate.com/ )

2. Change the following in the Apache configuration/httpd.conf:

Customlog "custom" -> "combined"

3. Download & install the Extension from Extension Repository.

4. Add the following in the httpd.conf:

ScriptAlias /cgi-bin/ "C:/<websitedir>/"
<Directory "C:/<websitedir>">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
AddHandler cgi-script .pl .cgi

5. Make the following changes in the awstats.pl file (line 1):

#!c:/apache2/perl/bin/perl.exe 

(Or where you installed the Perl)

7. Set the place in the Typo3-configuration, where Typo3 should look for the log-files. ([FE][logfile_dir]).Usually they reside in /apache2/logs , but if you've made changes in the httpd.conf file, or have made a special typo3 log file, they may be somewhere else.

8. Now log in to the AWStats backend module, configure the files, and you're ready to go :-)