Don t worry if you have multiple websites running from the same web server we can easily add all these later. This name can be anything you want as long as it identifies the actual website that you wish to monitor. of 14Ĥ Step 3 Continued Add a name for the web site that you intend to monitor. Next, agree to build a new AWStats Profile file. When prompted for your web server path simply add none and continue on. (If this comes as a surprise you then you may need to consider getting some extra help from here on in). (This will install all files including the documents to the C:\Program Files\AWStats directory.) of 14 ģ Step 3 Continued You will notice that a Perl window will appear detecting your operating system and will then advise you that it was unable to detect your Apache web server. Step 3 Installing AWStats Install AWStats and follow the prompts to accept the default settings. Now open a command prompt (Start > Run > cmd) and type the following command: C:\Perl\ If the command runs and produces Hello World., then it looks like Perl is working correctly. (You may need to create this directory.) After installing Perl, ensure that it is working by opening a text file using notepad and adding the the following text: #!/usr/bin/perl print "Hello World.\n" Save this to the C:\Perl directory with the filename of. Follow the prompts but when asked, install the program to the C:\Perl directory. Key References MyWebsite: The public website that you intend to collect statistics for AWStats Website: The website created solely for AWStats to use for displaying statistics for all other websites of 14Ģ Step 1 Downloading the Prerequisite Programs Download the awstats.exe file from Download the ActivePerl MSI file from Step 2 Installing and Testing ActivePerl Install ActivePerl on your web server. If you see the * symbol, treat this step as critical to make sure you get it absolutely correct. You will discover that Steps 1 7 are specific to the web server and only need to be done once, whereas Steps 8 11 will need to be repeated for each virtual website that you wish to monitor. Once we have at least one working model, we can easily configure AWStats to work for multiple virtual websites. Brief Outline of Processes Install ActivePerl and AWStats (Steps 1 3) Configure IIS to handle the Perl scripts (Steps 4 5) Create a new virtual website specifically for AWStats to display statistics (Steps 6-8) Configure the IIS logs for your website (Step 9) Configure AWStats to monitor your website and display the statistics The best approach is to use this document to get AWStats up and running to collect statistics for one specific virtual website. Just remember that IIS 5.1 does not have a Web Service Extensions manager (as mentioned in Step 4). This Article at a Glance Prerequisites.1 Brief Outline of Processes.1 Key References.1 Step 1 Downloading the Prerequisite Programs.2 Step 2 Installing and Testing ActivePerl.2 Step 3 Installing AWStats.2 Step 4 Setting up the Perl Extension in IIS.6 Step 5 Setting up the Application Extension in IIS.8 Step 6 Creating a Website for the AWStats.9 Step 7* Setting up the AWStats Data Directory with Modify Rights Step 8* Configuring the Web Log File Location, Frequency and Data Collection for MyWebsite Step 9 Removing the Old Web Log Files for a Clean Start Step 10 Configuring the AWStats Profile Step 11 Testing and Finishing Scheduled Updates Other Virtual Websites Need Tracking? Using Include Files for Multiple Virtual Websites (Optional) Creating Static Statistics Pages (Optional) Extra Security (Optional) Winding Up Prerequisites IIS 6.0 (Including IIS 5.1 ) AWStats ActivePerl I managed to use this document successfully to install AWStats on IIS 5.1 as well. If anyone is having troubles getting AWStats to work with IIS 6.0 (or IIS 5.1) after following this documentation please write to me at articles at and I will do my best to respond. This document covers the basic setup process and will certainly get you started tracking statistics for your websites. 1 AWStats is such a great statistical tracking program to use, but there seems to be a lack of easy-tofollow documentation available for installing AWStats on IIS.
0 Comments
Leave a Reply. |