![]() ![]() (Important: The setting is for default Apache installation path. Replace with : LogFile=”C:/Program Files/Apache Group/Apache2/logs/access_log” ![]() nfįind : LogFile=”/var/log/apache/access.log” It has been reported that sometime the CustomLog is not changed from common to combined.Īdditional Configuration at Main Parameters of awstats. – For Mac OS X, Windows and other operating systems: the same directory as (cgi-bin).Ĭheck through the nf is configured properly according to steps above. – For Linux/BSD/Unix users: /etc/awstats. mysite.Īwstats_ will create a new file called by copying the template file. 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. For instruction on how to install Perl in Windows machine, check out this article.ĭownload latest stable release of AWStats from. This tutorial will install AWStats to monitor traffics to Apache web server running on Windows operating system, specifically Windows XP.Īs AWStats is Perl based, a Perl Interpreter need to be installed first to take advantage of AWStats. The SUSE Diary has a nicely written tutorial introducing the application and describing how to easily create rulesets.AWStats is one of the useful web analytic reporting tool which high accuracy as it directly parses and analyzes server log files. Firefox can execute these files, modify these files and access these devices). It makes the task of securing server and client based applications simple through the automatic creation of application-based rules (i.e. One new default feature in OpenSUSE 10.1 that is really very cool is AppArmor. On the PowerPC I have used Virtual PC and the Intel iMac has also gone through Bootcamp but Parallels is far and away a better solution for most tasks (you would not want to run games through Parallels).įrom a website design perspective it really eases the testing of html/css in all four major environments (Windows Explorer, Firefox, Linux Konquerer and OSX Safari). Parallels is awesome, there is nothing like being able to play with (and blow away) Linux and Windows at almost full speed directly within OSX. I have been trying out SuSE 10.1 on my iMac with the Release Candidate version of Parallels. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |