IIS8 & AWSTATS

Developers
A New User
2013-05-20
2013-08-22
  • A New User

    A New User - 2013-05-20

    System: Windows Server 2012 IIS8

    I installed AWSTATS Version: 7.1.1

    awstats.domain.com.config is created with these settings:

    LogFormat = "date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken"
    LogSeparator = " "
    DNSLookup = 2
    DirCgi = "/cgi-bin"
    DirIcons = "/icon"
    AllowFullYearView=3
    AllowToUpdateStatsFromBrowser = 1
    UseFramesWhenCGI = 1
    ShowFlagLinks = "en fr de it nl es"
    LogFile = "C:\HostingSpaces\domain.com\logs\W3SVC8\u_ex%YY-3%MM-3%DD-3.log"
    DirData = "C:\AWStats\data"
    SiteDomain = "domain.com"
    HostAliases = www.domain.com

    When I go to http://awstats.domain.com/cgi-bin/awstats.pl?config=domain.com

    The whole pages loads with no stats. On the top it says this:

    Last Update: Never updated (See 'Build/Update' on awstats_setup.html page) Update Now (link)

    I click the Update Now link which takes me to the next page where I am hit with this error:

    Error: Couldn't open server log file "C:\HostingSpaces\domain.com\logs\W3SVC8\u_ex130520.log" : Permission denied

    There are a number of log files, one for each day in this folder W3SVC8.

    What do I have to do to get this working?

     
  • Anthony Bennett

    Anthony Bennett - 2013-08-22

    Looks simple enough - fix the permission denied error so AWStats can read the log files.

    Give the Internet Guest Account ("IUSR") read and list access to the folder and contents and see how you go.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks