I have verified the is a valid account and the password works. If I leave it as shown I am prompted for a username and password but the credentials for the global admin don't work. Old News -) Installing Awstat for analyzing Apache logs - LinuxTechLab How To Install, Secure, And Automate AWStats (CentOS/RHEL) by rasha A. If I uncomment Require all granted, I get no prompt for authorization. # Important note: use 'pass=' for MySQL, 'password=' for PostgreSQL.ĭBDParams "host=127.0.0.1 port=3306 dbname=vmail user=vmail pass="ĪuthDBDUserPWQuery "SELECT password FROM mailbox WHERE username = %s AND isglobaladmin=1 LIMIT 1" ScriptAlias /awstats/ "/usr/share/awstats/wwwroot/cgi-bin/" If I have the config.d file for awstats set with Require valid-user, it won't accept my credentials, but if I change it to grant all i can see awstats but there is still no data.Īlias /awstatsclasses "/usr/share/awstats/wwwroot/classes/"Īlias /awstatscss "/usr/share/awstats/wwwroot/css/"Īlias /awstatsicons "/usr/share/awstats/wwwroot/icon/" Unfortunately, my original problem still remains. After pointing to the correct log file, I ran the cron jobs again and it found the records. Once, installation has been completed start the apache and also check whether is working on it. Naturally the default access_log would stay empty. AWStats Installation and Configuration: Install apache server using yum command. In this tutorial i will guide you on how to install AWStats in CentOS server. I have site hosted on - digital ocean (Ubuntu Server) - I want to transfer & setup on ionos server - can you do it my site is developed in PHP - Codeigniter. In this tutorial, I will explain how to install and configure AWStats on CentOS 7. It supports most web server log file formats including Apache and IIS. It presents all the information contained your log files in a few easy-to-read web pages. I realized that after setting up the defaults during the iRedmail installation I had configured virtual hosts in Apache and pointed to individual log files for each host. The AWStats log analyzer works as either a CGI program or from the command line. So searching it from beginning of log file. Phase 1 : First bypass old records, searching new record.ĭirect access to last remembered record is out of file. Create/Update database for config "/etc/awstats/" by AWStats version 7.4 (build 20150714)įrom data in log file "/var/log/httpd/access_log".
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |