How
to install Awstats with IIS 7.5
Download
and Install
ActiveState
ActivePerl – http://www.activestate.com/activeperl
AWStats Installer (awstats-7.0.exe) http://awstats.sourceforge.net/#DOWNLOAD
or Zip file.
Open cmd run as administrator go to below path and press
command.
C:\Perl64>ap-iis-config add all
Moving the AWStats site into place
Go
to your AWStats install folder
(mine is
C:\Program Files (x86)\AWStats\wwwroot\ )Copy these folders and files to your website folder (C:\inetpub\awstats)
Copy paste awstats.model.conf file in cgi directory to awstats.domain.conf name and make modification like below.
Here are a few settings
of interest according to the setup above:
·
LogFile="C:/inetpub/logs/LogFiles/W3SVC3/u_ex140206.log"
·
LogType=W
·
LogFormat=2
·
SiteDomain="domain.com"
·
HostAliases="localhost 127.0.0.1
REGEX[myserver\.com$]"
·
DirData="."
·
DirCgi="/cgi-bin"
·
DirIcons="/icon"
·
DefaultFile=”index.php index.html”
Once you have saved your
configuration file, run the AWStats Perl Script to compile the stats data. The
command looks like this:
C:\inetpub\wwwroot\awstats>C:\Perl\bin\perl.exe awstats.pl
-config=domain.com
Cross check Awstas report thttp://domain.com/cgi-bin/awstats.pl
For Update log Information
c:\inetpub\wwwroot\awstats-7.2\wwwroot\cgi-bin>awstats.pl
-config= domain.com --update
c:\inetpub\wwwroot\awstats-7.2\wwwroot\cgi-bin>awstats.pl
perl awstats.pl -config= domain.com
-output -staticlinks > awstats.domain.html
perl awstats.pl -config=domain.com -output=alldomains
-staticlinks > awstats.domain.com.alldomains.html
perl awstats.pl -config=domain.com -output=allhosts
-staticlinks >
awstats.domain.com.allhosts.html
perl awstats.pl -config=domain.com -output=lasthosts
-staticlinks > awstats.domain.com.lasthosts.html
perl awstats.pl -config=domain.com -output=unknownip
-staticlinks > awstats.domain.com.unknownip.html
perl awstats.pl -config=domain.com -output=alllogins
-staticlinks > awstats.domain.com.alllogins.html
perl awstats.pl -config=domain.com -output=lastlogins
-staticlinks > awstats.domain.com.lastlogins.html
perl awstats.pl -config=domain.com -output=allrobots
-staticlinks > awstats.domain.com.allrobots.html
perl awstats.pl -config=domain.com -output=lastrobots
-staticlinks > awstats.domain.com.lastrobots.html
perl awstats.pl -config=domain.com -output=urldetail
-staticlinks > awstats.domain.com.urldetail.html
perl awstats.pl -config=domain.com -output=urlentry
-staticlinks > awstats.domain.com.urlentry.html
perl awstats.pl -config=domain.com -output=urlexit
-staticlinks > awstats.domain.com.urlexit.html
perl awstats.pl -config=domain.com
-output=browserdetail -staticlinks > awstats.domain.com.browserdetail.html
perl awstats.pl -config=domain.com -output=osdetail
-staticlinks > awstats.domain.com.osdetail.html
perl awstats.pl -config=domain.com
-output=unknownbrowser -staticlinks > awstats.domain.com.unknownbrowser.html
perl awstats.pl -config=domain.com -output=unknownos
-staticlinks > awstats.domain.com.unknownos.html
perl awstats.pl -config=domain.com -output=refererse
-staticlinks > awstats.domain.com.refererse.html
perl awstats.pl -config=domain.com -output=refererpages
-staticlinks > awstats.domain.com.refererpages.html
perl awstats.pl -config=domain.com -output=keyphrases
-staticlinks > awstats.domain.com.keyphrases.html
perl awstats.pl -config=domain.com -output=keywords
-staticlinks > awstats.domain.com.keywords.html
perl awstats.pl -config=domain.com -output=errors404
-staticlinks > awstats.domain.com.errors404.html
0 comments:
Post a Comment