11/7/2023 0 Comments Awstats iis 8.5![]() if we want to have our statistics to be indexed, set MetaRobot to 1.ensure that the bandwidth statistics is available by checking Byte Sent and Byte Received logging fields via Logging feature of IIS ( note: they might be not checked by default).create a list of authorized users in the AllowAccessFromWebToFollowingAuthenticatedUsers parameter so they can access AWStats.set AllowAccessFromWebToAuthenticatedUsersOnly to 1.We can follow this instruction as medium secured policy so we should open \awstats\cgi-bin\ and then edit it: create a Windows task scheduler for updating the statistics daily + automatically.in this case, just ensure granting permission to IUSR user to access “C:\inetpub\logs\LogFiles\ W3SVC39″ folder.Note: you may get the following error Permission denied after clicking Update now button.navigate to /awstats/cgi-bin/?config=viethoang you would see Update now link button.set the AllowToUpdateStatsFromBrowser parameter to 1.Generally, we have 2 ways to keep the statistics updated: We should open \awstats\cgi-bin\ then set the LogFile value to name pattern for the log files are created by IIS, for instance “C:\inetpub\logs\LogFiles\ W3SVC39\u_ex%YY%MM%DD-24.log” so AWStats can process the latest + completed log file (normally, it’s the log file of yesterday) Note: you may get the following error HTTP Error 502.2 – Bad Gateway as you miss “%s” %s in Executable field above.as our IIS doesn’t know anything about Perl so we need to add the following Script Map via Handler Mappings feature of IIS. ![]() ![]() navigate to /awstats/cgi-bin/?config=viethoang, you may get the following error HTTP Error 404.3 – Not Found.so far so good, let’s view our statistics from a browser.hopefully, you would see something like this.open Command Prompt and change directory to \awstats\cgi-bin.okay it should be enough, let’s process the logs now by following this instruction.set the SiteDomain parameter to the main domain name or the intranet web server name used to reach the web site being analyzed.change the DirIcons parameter to reflect relative path of icon directory, in this case it should be /awstats/icon.Note 2: there are many log files so we should merge them all into one single file, otherwise we will have to process one by one to build statistics database.Note 1: we can get the correct folder based on the following info.change the LogFile value to the full path of our web server log file, for instance: “C:\inetpub\logs\LogFiles\ W3SVC39\u_ex200319.log”.next step is to edit to match our specific environment.create a configuration file by clone and rename it to.let’s configure AWStats for Microsoft’s IIS server by following this instruction.Note: we can add a virtual directory to IIS site and name it awstats instead of copying wwwroot folder to our Sitecore website folder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |