
You should see similar page on your web browser.Ĭongratulations! You have installed and configured AWStats in your CentOS 8 successfully. If you want to see your website stats use below link but don t forget to use your own Server IP and domain name in that link
Cgi bin awstats pl config update#
For example, we want to update website stats after every every 59 mins so we will configure cron job using below commandsĬreate cron job using below command crontab -eĪdd below lines in cron file */59 * * * * root /usr/share/awstats/-update You setup a cron job to keep updating your website statistics at specific time interval. If you face any error during execution of above command, use below command and try again, mkdir /var/log/httpd/-access_log Step 5: Setting up Cron Job Note: don’t forget to replace -config= with your domain name. Update your website statistics from current logs using below command Now save changes to file and restart apache systemctl restart httpd vi /etc/awstats/Īnd modify below lines in this file with your domain name Then make some changes in “ ” file, use below command to edit it. Now you need to make a configuration file for desired website so we can check its statistics.You can make separate file for each website.Ĭreate a copy of default AWStats configuration file with your domain name using below command cp /etc/awstats/ /etc/awstats/ systemctl restart httpd Step 4: Create AWStats Configuration File for Website In this article we will not edit this file. once you made the changes restart apache using below command. Advanced Statistics' page and add a new statistics site.AWStats generates an default Apache configuration file /etc/httpd/conf.d/nf This file allows access to all IP addresses but if you want to access Awstats from the particular network or IP addresses then modify the “Allow from” section in this file with your desired network IP. Here is the web.config file in the AWSTATS folder: Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL. This tag should then have its "mode" attribute set to "Off". It could, however, be viewed by browsers running on the local server machine.ĭetails: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). Server Error in '/' Application.ĭescription: An application error occurred on the server. Then, I am redirected to a page that says the following: I enter the domain, and the UN & PW (the same one used to login to WSP) , I see Login to Advanced Statistics and I am prompted for a UN & PW. I downloaded AWStats.Viewer 2.0 and when I go to: I am trying to follow these instructions and I am having no success: I can view the AWSTATS no problem by going here: Some FTP servers log files, Syslog or mail logs can also be analyzed.

However, you can define your own log format, that's the reason why AWStats can analyze nearly all web, wap and proxy server log files. I am trying to secure the stats so in order to view, you need a UN & PW, the same UN & PW that is used to login to the WebsitePanel for the owner of the website. AWStats setup knows predefined log formats you can use to make AWStats config easier.
