sinlobi.blogg.se

Awstats rss
Awstats rss




awstats rss

Includes many charts and tables about traffic to your site.AWstats is a free, popular log analyzer, released under the GPL.

awstats rss

Run the following as root, (sudo will not work) Sudo /usr/share/awstats/wwwroot/cgi-bin/ -update -config=slyfoxsos Sudo perl /usr/share/tools/awstats_Īdd the following to a script to add new log entries: Perl -config=mysite -output -staticlinks > The first option is to build the main reports, in a static HTML page, from the command line, using the following syntax (skip to the second option if you only have CGI access): Note: you must have created a statistics data base for the analysis period by processing your log files before you try to create reports. To see the analysis results, you have several options depending on your security policy. Run reports: Building and reading reports

awstats rss

When the create/update is finished, you should see a similar result on your screen: Where mysite must be substituted with the domain/virtual host name you selected earlier during AWStats configuration.ĪWStats will read the configuration file (or if not found, nf) and create/update its database with all summary information issued from analyzed log file.ĪWStats statistics database files are saved in directory defined by the DirData parameter in configuration file. The AWStats create (and update) statistics database command is: The first log analysis should be done manually from the command line since the process may be long and it's easier to solve problems when you can see the command output (if you don't have Command Line access, skip to Step 2). Process logs: Building/updating statistics database Also make sure to limit who can see the awstats reports. One reason to use Yum to install/manage awstats is that you don’t have to do any of the work to keep it updated (make sure you enable automatic yum updates in your systems services config (menu: Desktop->System Settings -> Server Settings -> Services check the “yum” option is checked and you click the “Start” button while it’s highlighted). You can see near the end of my Incremental backups with rsync post for more information on that, if you’re interested.Ī word of caution: AWStats is often the target of worm attacks through XSS (cross-site scripting). (I don’t administer any high-traffic sites, so it’s not critical to have the most up-to-date records). Rather, I have a cronjob set to run the -update script a once per day I chose not to allow web users to do automatic updates. You should now be able to visit and you’ll see the fruits of your labor. This will hopefully create a config file fore each of your domains in /etc/awstats with the name. So, to do this with multiple domains, just repeat the steps above, making sure to make the appropriate changes to each domain… If all goes well, you should see something along the lines of: AWSTATS is an Apache log file analyzer that will show details about traffic to your web sites.






Awstats rss