**// To update awstats for a single domain on windows server **//:-
Go to cmd prompt and goto the dir containing the pl file i.e., the following path >>:-
C:\Inetpub\vhosts\newplc.com\statistics\webstat\AWStats\cgi-bin>
---------------------------------********************
Please run the following command >>:--
perl awstats.pl -config=newplc.com -update
If it gives an error message then go to the following file >>:-
C:\Inetpub\vhosts\newplc.com\statistics\webstat\AWStats\cgi-bin\awstats.newplc.com.conf
and correct the path of the LogFile.
-----------------------------------********************
Example >>:-
LogFile="C:\inetpub\vhosts\newplc.com \statistics\logs\W3SVC25309\ex%YY-24%MM-24%DD-24.log"
We can get the exact path of the log file from IIS >> Properties >> Web Site >> Properties.
and again run the update command.
No comments:
Post a Comment