

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. Now you need to make a configuration file for desired website so we can check its statistics.You can make separate file for each website. Checking all (any) of these will cause AWstats not to process at those times. 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. also as the may take some time and other server resources, we want to restrict it to authenticated users auth.backend 'htdigest' see chapter. systemctl restart httpd Step 4: Create AWStats Configuration File for Website. Ln -sf /usr/share/awstats/icon/* /var/www/html/awstats-icon Log files are located in: /var/log/plesk/maillog. To restart the service through the command line: /etc/init.d/drwebd restart. To stop the service through the command line: /etc/init.d/drwebd stop. sudo apachectl restart Next, you need to build your initial statistics, which will be generated from the current logs on your server. 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 To start the service through the command line: /etc/init.d/drwebd start. 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)

Please add following entries to /etc/awstats/nf:
#Restart awstats install#
Install AwStats sudo apt install awstats which you already did.We’ll create user awstats in file /etc/authawstats with desired password. Here is how it should appear: Add basic apache auth to AWStats. I just did a rough set up, and manually anycodings_openlitespeed setup AwStats seems to work on my anycodings_openlitespeed OpenLiteSpeed web server. sudo apache2ctl configtest sudo apache2ctl restart Now visit your awstats site at the url /awstats/.
