Enter an appropriate name such as that of your web server or the virtual domain to be analyzed, i.e. This is an example of the type of records you should see inserted in your new log file after Apache was restarted:Ħ2.161.78.75 – – “GET / HTTP/1.1” 200 1234 “” “Mozilla/4.0 (compatible MSIE 5.01 Windows NT 5.0)”ĭ) awstats_ will ask you for a name for the configuration profile file. To be sure the log format change is effective, go to your homepage. # This is to permit URL access to scripts/files in AWStats directory.Ĭ) if changes were made as indicated in parts A and B, awstats_ restarts Apache to apply the changes. ScriptAlias /awstats/ “/usr/local/awstats/wwwroot/cgi-bin/” # Note that path “/usr/local/awstats/” must reflect your AWStats Installation path.Īlias /awstatsclasses “/usr/local/awstats/wwwroot/classes/”Īlias /awstatscss “/usr/local/awstats/wwwroot/css/”Īlias /awstatsicons “/usr/local/awstats/wwwroot/icon/” # Directives to add to your Apache conf file to allow use of AWStats as a CGI. See the Apache manual for more information on this directive (possibly installed on your server as B) awstats_ will then add, if not already present, the following directives to your Apache configuration file (note that the “/usr/local/awstats/wwwroot” path might differ according to your distribution or OS: If you answer yes, awstats_ will modify your nf, changing the following directive from:ĬustomLog /yourlogpath/yourlogfile commonĬustomLog /yourlogpath/yourlogfile combined If you use a common log, awstats_ will suggest changing it to the NCSA combined/XLF/ELF format (you can use your own custom log format but this predefined log format is often the best choice and makes setup easier). This is what the script does/asks (you can do all these steps manually instead of running awstats_ (automatically launch by Windows installer) if you prefer):Ī) awstats_ tries to determine your current log format from your Apache web server configuration file nf (it asks for the path if not found). To execute it use (if location of perl.exe is within your path environment): If you’re not using the Windows installer, you can find the script in the AWStats tools directory. Setup and Configuration for Apache Web ServerĪWStats installer will automatically launches the awstats_ script to do several setup actions. Then click on “Install” to start the installation. You may want to change the installation folder here. Launch the AWStats setup file by double clicking on the executable that just has been downloaded. Choose the setup package that ended with. Download latest stable release of AWStats from.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |