By default, AwStats package is available in the Ubuntu repository. Duplicate the AwStats default configuration file to one with your domain name. Build your initial statistics which is generated from the current logs on your server. Copy the content of the cgi-bin folder to the default document root directory of your Apache installation.
Change the domain name at the end of the URL to match your own. Parsed lines in file: 0 Found 0 dropped records, Found 0 comments, Found 0 blank records, Found 0 corrupted records, Found 0 old records, Found 0 new qualified records.
Toggle navigation. Launch your Data Center. Restart the Apache service to reload the new settings: sudo apachectl restart After these changes, you need to build your initial statistics, which will be generated from the current logs on your server. Run the awstats configure script to setup awstats for the domain you want to monitor.
Remember to repeat the configuration process for each domain you want to monitor. Answer the questions asked by the script in which you will need to know the full configuration file path of your web server e.
See the original for detailed script output After the script exits, you should set up an alias for awstats-icons in httpd. Inserted it in the Aliases section. If AWStats needs to be accessed externally from a specific network, the IP address of the network needs to be allowed in the AWStats configuration file. Add in the network IP example: Create AWStats configuration file for websites now.
For this copy the AWStats example configuration file with a new name preferably with the website name and make changes as below. Note: The website name has been considered as layerstacksupport. Create a cronjob to update the AWStats database on a regular basis using newly created log entries from the server.
0コメント