![]() ![]() Awstats update process runs in the background as user www-data that needs read access to the Apache log files. If you see error messages telling that Awstats doesn’t have permission to access apache2 log file, check the access rights in the system for log files. However, extra tweaks are required to make it work.įrom data in log file "/var/log/apache2/access.log"…Įrror: Couldn't open server log file "/var/log/apache2/access.log" : Permission denied Configure Awstats to automatically update the statisticsĭuring installation, Awstats sets an interval how often it automatically updates the statistics. It is, however, quite likely that you have to configure Awstats a little bit more so that it automatically runs in the background, and you may want to allow access to authorized people only. If statistics figures and ip addresses are displayed on the page, the basic installation is done. Re-check the statistics page in your web browser: When the statistics data has been initialized, Awstats displays the number of lines it found as qualified records, blank records, and other information. It is all right, you just have to manually run the first update.īack in the Terminal, type the following command to initialize Awstats: The top line displays the time when statistics were updated. If a statistics web page is displayed, you are on the right path. You can see how the installation is progressing by pointing your web browser to: Type the following commands to activate the changes in the Apache configuration: Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Open the Apache configuration file /etc/apache2/sites-available/nf (mysite is your conf file name) and insert the following lines into the file:Īlias /awstatsclasses "/usr/share/awstats/lib/"Īlias /awstats-icon/ "/usr/share/awstats/icon/"Īlias /awstatscss "/usr/share/doc/awstats/examples/css" (replace with your actual domain name)Įdit the file as follows (these are the default values that usually work): Once the installation routine is completed, make a copy of the Awstats definitions file:Ĭp /etc/awstats/nf /etc/awstats/ Open Terminal access to your server and type the installation command: ![]() It also means you need root access to the system (or sudo). You should be comfortable with editing Linux configuration files to succeed with the Awstats installation. If you are running a Windows server, this article has instructions for it. I happen to run WordPress servers, but Awstats doesn’t make a difference if you are running Drupal, Joomla, or another server. This Awstats installation and configuration guide has been tested on Debian 8 (Jessie) and Debian 10 (Buster), both running Apache 2.4. They provide valuable information about search engines, keywords, possible hackers, and many other things web site admins want to be aware of. That’s where Awstats, Webalizer and similar statistic tools can help. WordPress plugins, however don’t have a clue what is happening outside its own world. I am administering WordPress sites that already are collecting statistics inside the CMS (content management system) using plugins. Statistics for the number of visitors, most visited pages, referrers, search engines, browser products, keywords, and other information is displayed on the dashboard. Awstats can analyze web, email, and ftp server data. ![]() Awstats gets its data from a web server log files, such as Apache, that exist on every web site. It tallies up data into a database so that you can view historical statistics and compare it to today’s numbers. Published, Updated with settings for different types of URLs.Īwstats is a statistics/analysis tool that collects data from visitors who view a web site. ![]()
0 Comments
Leave a Reply. |