![]() ![]() You can follow “Installation of GeoIP Information for AWStats” documentation to have a country information on your web/mail/ftp statistics. TypeĨ.Create crontab script in order to update the log file analysisĠ * * * * /usr/local/awstats/-update > /root/awstatsjob/awstats.logĩ. Phase 1 : First bypass old records, searching new record…ĭirect access after last parsed record (after line 10471)Īccess it using your favorite browser. Using SSH, go to /webapps/awstats/WEB-INF/cgi-bin folder and run perl -config=-update.Ĭreate/Update database for config “/etc/awstats/ AWStats version 6.6 (build 1.887)From data in log file “/var/log/httpd/www.freelinuxtutorials-combined_log”… This will allow updating from the web browser with. Set AllowToUpdateStatsFromBrowser=1 in awstats.file, see above. LogFile=”LogFile=”/var/log/httpd/LogType=Wġ. The above execution will generate the configuration file. In the second prompt, I just typed demo for a demo analysis task. #vi /etc/awstats/awstats.Look for the line in the configuration and change the values as shown below: In the above example, I just installed AWStats just to generate reports offline from access log files without installing onto Apache Web Server for simplicity. In some access logs, a lot of 408 status response codes are found, and AWStats handles them as 'corrupted log lines'. Parsed lines in file: 120 Found 0 dropped records, Found 0 corrupted records, Found 0 old records, Found 120 new qualified records. It would create an /webapps/awstats folder after copied. war file, no need to install it by hand, you just need to copy this file to /webapps folder #mv servlets-cgi.renametojar servlets-cgi.jar #cd /usr/local/apache-tomcat-5.5.20/server/lib ![]() Since Tomcat disabled by default the CGI executions, we need to enable it by renaming the file servlets-cgi.renametojar to servlets-cgi.jar Here are the steps in installing and configuring AWstats in Tomcat Web Serverġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |