A couple things I didĠ) Make a copy of the to ()ġ) make sure to set the DirData attribute is “DirData="c:/inetpub//stats/DomainName1"”Ģ) Follow the AWStats FAQ, check out the Demo / ScreenShots section. I’m going to defer to the AWStats FAQ section configuring the conf files. This attribute sets at a server level.Ĭ:\windows\system32\inetsrv\appcmd.exe set config "" -section:system.webServer/handlers /.name:"PERL" /.path:"*.pl" /.modules:"IsapiModule" /.scriptProcessor:"C:\Perl\bin\PerlEx30.dll" /.resourceType:"Unspecified" /.requireAccess:"Script" /.preCondition:"bitness32" When prompted for this, go ahead and click Yes. Through IIS Manager, go to Internet Manager This can be v2.0 or v4.0Ĭ:\Windows\System32\inetsrv\appcmd set config /section:applicationPools /.managedPipelineMode:IntegratedĬ:\Windows\System32\inetsrv\appcmd add site /id:12345 /name: /bindings:http/*:80: /physicalPath:c:\inetpub\Ĭ:\Windows\System32\inetsrv\appcmd set app /app.name:/ /applicationPool:"Ĭ:\Windows\System32\inetsrv\appcmd set config -section:system.applicationHost/applicationPools /.enable32BitAppOnWin64:"True" /commit:apphost ‘mkdir c:\inetpub\\stats\domain2’Ĭreate a IIS site with Internet Manager or AppCMD, for this article, I've provided AppCMD commandsĬ:\Windows\System32\inetsrv\appcmd add apppool /name: ‘mkdir c:\inetpub\\stats\domain1’ī) create a folder called c:\inetpub\\stats\Domain2 I'm going to take assumptions on folder names for this article, you can adjust them to fit your environment.ġ) Create a folder in c:\inetpub\ ‘mkdir c:\inetpub\’Ģ) In the AWStats extracted files, copy all folders in the 'These folders will store the various domains stats.Ī) create a folder called c:\inetpub\\stats\Domain1 The link I used is in the format below to access various domains. Go to, download and extract somewhere on your system.įor my purposes, I setup a single separate websites to access my stats. The current version available is AWStats 7.0. The next step, download and extract Awstats. If not, I’ve included a command later in the article how to setup. I installed ActiveState (32 bit ) to C:\Perl If IIS is installed, you’ll want to confirm if the HTTP Handler is already setup. Later in the article, we'll configure IIS. For purposes of this article, download and install the x86 (32 bit) edition of ActiveState. From my testing, I can only get the x86 edition running within IIS. Thankfully, ActiveState provides an x86 and 圆4 Perl implementation. The first thing you'll need is a method to run PERL on Windows. If you have any further questions, comments please feel free to add to the article. I’ll assume you have a Windows Server 2008 or 2008 R2 server with IIS Installed. Here is the order of what I did to get my server up and running. I’m still working on a few config items within AWStats, which if you have suggestions, please let me know. One of the things I couldn't find that covered the steps to get IIS 7.5 up and running. AWStats ( is a free Open Source (Perl based) package. One of things I’ve wanted to evaluate is AWStats for doing analytics on a variety of sites I run.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |