toregift.blogg.se

Cgi bin awstats awstats pl
Cgi bin awstats awstats pl











  1. #Cgi bin awstats awstats pl install
  2. #Cgi bin awstats awstats pl update

#Cgi bin awstats awstats pl update

Simply create a shell script to update all domains – /etc/cron. Use mod_auth to setup a secure password protected area under Lighttpd. (Fig.01: Awstats for theos.in domain – click to enlarge) Password protect your stats Phase 1 : First bypass old records, searching new record.ĭirect access after last parsed record (after line 50894) # /usr/local/awstats/Sample output: Create/Update database for config "/etc/awstats/.conf" by AWStats version 6.7 (build 1.892)įrom data in log file "/var/log/lighttpd/theos.in/access.log". usr/local/awstats/If your domain name is theos.in, enter: Type the following command at a shell prompt: # chown lighttpd:lighttpd /home/lighttpd/theos.in/stats/awstats Step 4: Generate stats # mkdir -p /home/lighttpd/theos.in/stats/awstats Set this value to the directory where you want AWStats to save its database and working files into. All those files are written in the directory defined by the “DirData” parameter. DirData : When AWStats updates its statistics, it stores results of its analysis in files (AWStats database).LogFormat : Use Apache / Lighttpd combined log format.A full path to your log file /var/log/lighttpd/theos.in/access.log LogFile : Defines the web, ftp or mail server log file to analyze.LogFile="/var/log/lighttpd/theos.in/access.log"ĭirData="/home/lighttpd/theos.in/stats/awstats" Make a copy of default configuration file as : # /etc/init.d/lighttpd restart Step # 3: Configure domain "/awstats/" => "/usr/local/awstats/wwwroot/cgi-bin/", "/awstatsicons" => "/usr/local/awstats/wwwroot/icon/", "/awstatscss" => "/usr/local/awstats/wwwroot/css/", "/awstatsclasses" => "/usr/local/awstats/wwwroot/classes/", Open nf file and configure perl cgi access (see tutorial for more info):Īppend following configuration directive: alias.url = ( /home/lighttpd//stats/awstats/ : Directory to store awstats data files./home/lighttpd//http/ : Web root for your domain.

#Cgi bin awstats awstats pl install

First, you do not need to download and install the awstats rpm package any longer. Today, I tried to install awstats on CentOS7 and the process became a little different. /var/log/lighttpd//access.log : Web server access log file That post actually teaches you to install awstats on CentOS 6, where you need to download the awstats package from sourceforge and install it and its dependent software manually.

cgi bin awstats awstats pl

  • /usr/local/awstats/wwwroot/cgi-bin/ : Main program directory.
  • /etc/awstats/ – Configuration file for all your domains.
  • /usr/local/awstats/wwwroot/ – Default installtion directory.
  • # rpm -ivh Important Configuration Files Visit project web site to grab latest stable version. You can easily configure awstats under Lighttpd web server.













    Cgi bin awstats awstats pl