This is an example of the type of records you should see inserted in your new log file after Apache was restarted: 62.1 - - [dd/mmm/yyyy:hh:mm:ss 0000] "GET / HTTP/1.1" 200 1234 " "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" D) awstats_will ask you for a name for the configuration profile file.
Enter an appropriate name such as that of your web server or the virtual domain to be analyzed, i.e. awstats_will create a new file called awstats.by copying the template file awstats.
Particular attention should be given to these parameters: - Verify the Log File value. - Check if Log Format is set to "1" (for "NCSA apache combined/ELF/XLF log format") or use a custom log format if you don't use the combined log format.
- Set the Allow To Update Stats From Browser parameter to 1 if you don't have command line access and have only cgi access.
- Review and change other parameters if appropriate. You can jump to the Process logs: Building/Updating statistics database section.
# Note that path "/usr/local/awstats/" must reflect your AWStats Installation path.
# Alias /awstatsclasses "/usr/local/awstats/wwwroot/classes/" Alias /awstatscss "/usr/local/awstats/wwwroot/css/" Alias /awstatsicons "/usr/local/awstats/wwwroot/icon/" Script Alias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/" # # This is to permit URL access to scripts/files in AWStats directory.
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
The new file location is: - For Linux/BSD/Unix users: /etc/awstats.
- For Mac OS X, Windows and other operating systems: the same directory as (cgi-bin). Once a configuration file has been created (by awstats_configure.pl, by your package installer or just by a manual copy of awstats.model.conf), it's important to verify that the "MAIN PARAMETERS" match your needs. notepad.exe, vi, gedit, etc) - don´t use a word processor - and make changes as required.
To do so, start the IIS management console snap-in, select the appropriate web site and open its To be sure the log format change is effective, you must stop IIS, backup it up (if you desire) and remove all of the old log files, restart IIS and go to your homepage.