

NGINX preventing AWstats from gathering information (aka AWstats not generating data) While unsupported, this may be a workaround that will work for Nginx users for this type of no data issue. This will allow you to have an artificial log file that can be analyzed by AWStats. Checking all (any) of these will cause AWstats not to process at those times. a tag to call a CGI script like pslogger into each of your web pages.

quote & Run the file called runweblogs and this will ask you what username to update.& I did this and awstats is now working on 1 user.
Restart awstats how to#
Navigate to Web Admin at port 7080 > anycodings_openlitespeed VirtualHosts > Name > Context, anycodings_openlitespeed then create a CGI contextĬlick Save button and gracefully restart anycodings_openlitespeed the web server. Because AWStats is a log analyzer, if you don't have any way to read your server log file, However, this is a trick that you can use to have a log file be built. See AWStats documentation in 'docs' directory for informations on how to setup awstats. Ln -sf /usr/share/awstats/icon/* /var/www/html/awstats-icon If there's no error in the output, we anycodings_openlitespeed can start setting up the Awstats displayĪdd symlink for both cgi-bin and icons anycodings_openlitespeed to your document root ln -sf /usr/lib/cgi-bin /var/www/html/cgi-bin I have figured out how to use shell now (somewhat, I can log in anyways). Copy AWStats example configuration file with new name and make changes as below. I've had some serious growth with the new server and sometimes the awstats don't get updated and it can get behind by quite a bit unless it get's re-enabled. Its required to create an configuration file for each of your website for which statics need to generate. Note, please make sure to substitute the anycodings_openlitespeed domain name and the access anycodings_openlitespeed log path with your own settings.īuild your initial statistics which is anycodings_openlitespeed generated from the current logs, /usr/lib/cgi-bin/ -config= -updateĮxample returns: From data in log file "/var/Phase 1 : First bypass old records, searching new record.ĭirect access after last parsed record (after line 50) service httpd restart Step 5 Create AWStats Configuration File.
Restart awstats install#
Install AwStats sudo apt install awstats which you already did. also as the may take some time and other server resources, we want to restrict it to authenticated users auth.backend 'htdigest' see chapter.I just did a rough set up, and manually anycodings_openlitespeed setup AwStats seems to work on my anycodings_openlitespeed OpenLiteSpeed web server.
