Perl -config=mysite -output=urlexit -staticlinks > Perl -config=mysite -output=urlentry -staticlinks > Perl -config=mysite -output=urldetail -staticlinks > Perl -config=mysite -output=lastrobots -staticlinks > Perl -config=mysite -output=allrobots -staticlinks > Perl -config=mysite -output=lastlogins -staticlinks > Perl -config=mysite -output=unknownip -staticlinks > Perl -config=mysite -output=lasthosts -staticlinks > Perl -config=mysite -output=allhosts -staticlinks > You can also generate specific sections from the command line : perl -config=mysite -output=alldomains -staticlinks > You can manually update Statistics ( Note: By default, statistics will be updated every hour.): /usr/bin/awstats_ now -confdir="/etc" -awstatsprog="/var/www/awstats/" Generation of specific sections Where mysite must be substituted with the domain/virtual host name. The following syntax (skip to the second option if you only have CGI access): perl -config=mysite -output -staticlinks > To build the main reports, in a static HTML page, from the command line you can use Log files before you try to create reports. Note: you must have created a statistics data base for the analysis period by processing your To see the analysis results, you have several options depending on your Go to Report consists of sections that can be generated also from the command line: To automate startup of Apache on boot up, type chkconfig -add httpd Verify Install Rename config file: mv /etc/awstats/ /etc/awstats/nf This can be done in two ways, either enable for theĮntire web server, or utilizing VirtualHosts, enable for AWStats.Įdit the following lines in the default AWStats configuration file /etc/awstats/: SiteDomain="." Try to view the file, it will try to execute it. Note: the mod_cgi module of Apache must be pre-loaded into Apache otherwise Apache will not Setup separating different applications in their own sections of configuration files Īlso in a hosted environment you typically can't edit nf:Īlias /awstats/icon/ /var/www/awstats/icon/Īlias /awstatsclasses "/var/www/awstats/lib/"Īlias /awstats-icon/ "/var/www/awstats/icon/"Īlias /awstatscss "/var/www/awstats/examples/css" Note: conf file in the /etc/httpd/conf.d/ folder are automatically loadedĪs part of the Apache configuration. It is widely used by web hosting providers (providedĪfter install the first thing to do is to edit /etc/httpd/conf.d/nf ProxyĪWStats works from the command line as CGI. Or common/CLF log format), as well as WebStar, IIS (W3C log format) and several others. Supported are all major servers that produce Apache-style log files (NCSA combined/XLF/ELF log format It uses a partial information file to be able to process large log files, often and quickly. Web site usage report as well as several other reports (can be used for proxy log processing and several Using AWStats Perl script for HTTP log abalysis NewsĪWStats is Perl script licensed under the GNU General Public License that can work in standalone (command line) and CGI modes and generates (slightly skeptical) Educational society promoting " Back to basics" movement against IT overcomplexity Softpanorama May the source be with you, but remember the KISS principle -) Using AWStats Perl script for HTTP log abalysis
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |