Note that these statistics are public unless you secure them.Īdd the following code to /etc/crontab for each domain:Ġ */3 * * * /usr/lib/cgi-bin/ -config=yourdomain. Statistics for yourdomain.ext should now be available at:įor if you have multiple config files. Reload apache2: /etc/init.d/apache2 reload.Options ExecCGI -MultiViews SymLinksIfOwnerMatch Otherwise, add this code inside the VirtualHost tag for each domain you want to monitor: Alias /awstatsclasses "/usr/share/awstats/lib/"Īlias /awstats-icon "/usr/share/awstats/icon/"Īlias /awstatscss "/usr/share/doc/awstats/examples/css" If you have no VirtualHosts set up, place the following code in '/etc/apache2/sites-available/default'. It works with IIS 5.0 , Apache and all major web, wap, proxy, streaming server log. Navigate to /etc/apache2/sites-available/ cd /etc/apache2/sites-available/ AWStats (Advanced Web Statistics) is a powerful, full-featured web server logfile analyzer which shows you all your Web statistics including: visitors, pages, hits, hours, search engines, keywords used to find your site, broken links, robots and many more.In order to access Awstats, we have to tell Apache2 where it is. generate the initial stats for AWStats based on existing var/log/apache2/access.log: /usr/lib/cgi-bin/ -config=yourdomain.ext -updateįirst tell your apache to use mod_cgi if you haven't enabled it yet a2enmod cgi.make the following changes: LogFile="/var/log/apache2/access.log" SiteDomain="yourdomain.ext" HostAliases="localhost 127.0.0.1 yourdomain.ext".Open file with vi or nano: vi /etc/awstats/ or nano /etc/awstats/.Create a copy of nf for each domain: cp /etc/awstats/nf /etc/awstats/.Install AWStats with Synaptic or sudo apt-get install awstatsĪwstats configuration files in Ubuntu are located in /etc/awstats. For more help, get XChat and subscribe to channel "#awstats" on the Ubuntu Server. It assumes you already have an Apache2 web server up and running. The following documentation contains specific information on installing and configuring Awstats with Ubuntu and Apache2. It can analyze log files from all major server tools like Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar, IIS (W3C log format) and a lot of other web, proxy, wap, streaming servers, mail servers and some ftp servers. It uses a partial information file to be able to process large log files, often and quickly. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. Appreciate that one.AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically. Otherwise, a one-click solution to flushing my DNS outweighs the negatives since my ISP loves to break my Internet at least once a month, and this is usually among the list of troubleshooting steps. Still, I'd appreciate future updates to address these high-level tweaks, including cautionary warnings about the more powerful options within. These inclusions don't knock points off any score I would give to the app. On the other hand, some compelling features like ' God Mode' are available in Wintoys at the flick of a switch and shouldn't be trifled with if you don't confidently know what you're doing. For an IIS installation on Windows you can run the following on Command Prompt: perl 'D:/Websites/My Website/Stats/cgi-bin/' -update -config'' -LogFile'perl \'D:/Websites/My Website/Stats/tools/\' C:\inetpub\logs\LogFiles\W3SVC1\. Some are a little vague about their efficacy, including an option to disable VBS (virtualization-based security) with the notion it can boost gaming performance by 'up to around 30%, depending on the game.' Nevertheless, Bogdan includes 'Read more.' links underneath some of the more intense-sounding tweaks with official documentation to put your mind at ease.ĭisable unnecessary services that use system resources with the help of detailed descriptions and instructions. The most exciting features offered by Wintoys are in the 'Boost, Health, and Tweaks' sections, with detailed descriptions for each. Le programme AWStats qui va tre dtaill, va donc avoir besoin pour fonctionner dun package Perl rcent.
0 Comments
Leave a Reply. |