Changeset 994

Show
Ignore:
Timestamp:
02/07/08 10:24:06 (7 months ago)
Author:
rats
Message:

CentOS / Slackware:
* Fixed #760: ispcp_daemon not working under Slackware 12.0 or CentOS 5
* Fixed #900: /tmp/ispcp-1.0.0/etc/ispcp empty after make install on CentOS 5
* Added: Slackware documentation
* Updated Debian, CentOS, Slackware

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r993 r994  
    22~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    33 
     42008-02-07 Benedikt Heintel 
     5        - DISTS: 
     6                CentOS / Slackware: 
     7                * Fixed #760: ispcp_daemon not working under Slackware 12.0 or CentOS 5 
     8                * Fixed #900: /tmp/ispcp-1.0.0/etc/ispcp empty after make install on CentOS 5 
     9                * Added: Slackware documentation 
     10        - DOCU: 
     11                * Updated Debian, CentOS, Slackware 
     12 
    4132008-02-07 Christian Hernmarck 
    514        - GUI: 
    615                * Added: use utf8 with the database, including config var to switch off 
    7  
    8 2008-02-05 Benedikt Heintel 
    916        - RELEASE ispCP ω Omega 1.0.0 RC3 
    1017 
    11 2008-02-05 Benedikt Heintel 
     182008-02-06 Benedikt Heintel 
    1219        - GUI: 
    1320                * Fixed: Graphical issue on reseller/order.php 
  • trunk/Makefile.centos

    r969 r994  
    55endif 
    66 
    7 HOST_OS=centos 
     7HOST_OS=redhat 
    88 
    99ROOT_CONF=$(INST_PREF)/etc 
  • trunk/configs/dists/centos/Makefile

    r847 r994  
    66        if test $(HOST_OS) = centos ; then \ 
    77                cp ./ispcp.conf $(SYSTEM_CONF) ; \ 
    8                 cd ./apache && $(MAKE) install ; cd .. ; \ 
    9                 cd ./awstats && $(MAKE) install ; cd .. ; \ 
    10                 cd ./bind && $(MAKE) install ; cd .. ; \ 
    11                 cd ./cron.d && $(MAKE) install ; cd .. ; \ 
    12                 cd ./database && $(MAKE) install ; cd .. ;  \ 
    13                 cd ./fcgi && $(MAKE) install ; cd .. ; \ 
    14                 cd ./init.d && $(MAKE) install ; cd .. ; \ 
    15                 cd ./postfix && $(MAKE) install ; cd .. ; \ 
    16                 cd ./courier && $(MAKE) install ; cd .. ; \ 
    17                 cd ./proftpd && $(MAKE) install ; cd .. ; \ 
    18                 cd ./logrotate && $(MAKE) install ; cd .. ; \ 
     8                (cd ./apache && $(MAKE) install &); \ 
     9                (cd ./awstats && $(MAKE) install &); \ 
     10                (cd ./bind && $(MAKE) install &); \ 
     11                (cd ./cron.d && $(MAKE) install &); \ 
     12                (cd ./database && $(MAKE) install &);  \ 
     13                (cd ./fcgi && $(MAKE) install &); \ 
     14                (cd ./init.d && $(MAKE) install &); \ 
     15                (cd ./postfix && $(MAKE) install &); \ 
     16                (cd ./courier && $(MAKE) install &); \ 
     17                (cd ./proftpd && $(MAKE) install &); \ 
     18                (cd ./logrotate && $(MAKE) install); \ 
    1919        fi 
    2020 
     
    2323        if test $(HOST_OS) = centos ; then \ 
    2424                rm -rf $(SYSTEM_CONF)/ispcp.conf ;  \ 
    25                 cd ./apache && $(MAKE) uninstall ; cd .. ; \ 
    26                 cd ./awstats && $(MAKE) uninstall ; cd .. ; \ 
    27                 cd ./bind && $(MAKE) uninstall ; cd .. ; \ 
    28                 cd ./cron.d && $(MAKE) uninstall ; cd .. ; \ 
    29                 cd ./database && $(MAKE) uninstall ; cd .. ;  \ 
    30                 cd ./fcgi && $(MAKE) uninstall ; cd .. ; \ 
    31                 cd ./init.d && $(MAKE) uninstall ; cd .. ; \ 
    32                 cd ./postfix && $(MAKE) uninstall ; cd .. ; \ 
    33                 cd ./courier && $(MAKE) uninstall ; cd .. ; \ 
    34                 cd ./proftpd && $(MAKE) uninstall ; cd .. ; \ 
    35                 cd ./logrotate && $(MAKE) uninstall ; cd .. ; \ 
     25                (cd ./apache && $(MAKE) uninstall &); \ 
     26                (cd ./awstats && $(MAKE) uninstall &); \ 
     27                (cd ./bind && $(MAKE) uninstall &); \ 
     28                (cd ./cron.d && $(MAKE) uninstall &); \ 
     29                (cd ./database && $(MAKE) uninstall &); \ 
     30                (cd ./init.d && $(MAKE) uninstall &); \ 
     31                (cd ./postfix && $(MAKE) uninstall &); \ 
     32                (cd ./courier && $(MAKE) uninstall &); \ 
     33                (cd ./proftpd && $(MAKE) uninstall &); \ 
     34                (cd ./logrotate && $(MAKE) uninstall &); \ 
    3635        fi 
  • trunk/configs/dists/centos/apache/00_master.conf

    r847 r994  
    2929    Alias /ftp      {ROOT_DIR}/gui/tools/filemanager/ 
    3030 
    31     SuexecUserGroup vu2000 vu2000 
     31    <IfModule suexec_module> 
     32           SuexecUserGroup vu2000 vu2000 
     33    </IfModule> 
    3234 
    3335    <Directory {ROOT_DIR}/gui> 
  • trunk/configs/dists/centos/apache/01_awstats.conf

    r847 r994  
    33# AWStats Begin 
    44# 
     5 
     6Alias /awstatsicons "{AWSTATS_WEB_DIR}/icon/" 
     7 
    58 
    69NameVirtualHost 127.0.0.1:80 
     
    1013    <IfModule mod_rewrite.c> 
    1114        RewriteEngine on 
    12        RewriteRule ^/stats/(.+)/$ http://localhost/awstats/?config=$1 [P] 
    13        RewriteRule ^/stats/(.+)/awstats.pl(.*)$ http://localhost/awstats/$2 [P] 
     15        RewriteRule ^/stats/(.+)/$ http://localhost/awstats/?config=$1 [P] 
     16        RewriteRule ^/stats/(.+)/awstats.pl(.*)$ http://localhost/awstats/$2 [P] 
    1417    </IfModule> 
    1518 
    16     ScriptAlias /awstats "/usr/lib/cgi-bin/awstats.pl" 
     19    ScriptAlias /awstats "{AWSTATS_ENGINE_DIR}/awstats.pl" 
    1720 
    18     <Directory /usr/lib/cgi-bin
     21    <Directory {AWSTATS_ENGINE_DIR}
    1922        AllowOverride none 
    2023        Options +ExecCGI 
  • trunk/configs/dists/centos/apache/Makefile

    r969 r994  
    1111        $(SYSTEM_MAKE_DIRS) $(ROOT_APACHE_CONF)/ispcp 
    1212 
    13         cp ./httpd.conf ./working/ispcp.conf 
    14         cp ./fastcgi.conf ./working/fastcgi_ispcp.conf 
    1513        cp ./httpd.conf $(SYSTEM_CONF)/apache 
    1614        cp ./00_master.conf $(SYSTEM_CONF)/apache 
     
    2018        cp -R ./working $(SYSTEM_CONF)/apache 
    2119 
    22         cp -R ./working/fastcgi_ispcp.conf ${ROOT_APACHE_CONF}/mods-available/fastcgi_ispcp.conf 
     20        cp ./httpd.conf $(SYSTEM_CONF)/apache/working/ispcp.conf 
     21        cp ./httpd.conf $(SYSTEM_CONF)/apache/parts/ispcp_base.tpl 
     22 
     23        cp -R $(SYSTEM_CONF)/apache/working/fastcgi_ispcp.conf $(ROOT_APACHE_CONF)/mods-available/fastcgi_ispcp.conf 
    2324 
    2425uninstall: 
    2526 
    2627        rm -rf $(SYSTEM_CONF)/apache 
    27         rm -rf $(ROOT_APACHE_CONF)/ispcp.conf 
    28         rm -rf ${ROOT_APACHE_CONF}/mods-available/fastcgi_ispcp.conf 
     28        rm -rf $(APACHE_SITES_DIR)/ispcp.conf 
     29        rm -rf $(APACHE_SITES_DIR)/00_master.conf 
     30        rm -rf $(APACHE_SITES_DIR)/01_awstats.conf 
     31        rm -rf $(APACHE_MODS_DIR)/fastcgi_ispcp.conf 
  • trunk/configs/dists/centos/apache/fastcgi.conf

    r847 r994  
    2828        FastCgiWrapper On 
    2929        FastCgiIpcDir /var/lib/apache2/fastcgi 
    30         FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100 
    31                       #-killInterval 300 \ 
    32                       #-autoUpdate \ 
    33                       #-idle-timeout 240 \ 
    34                       #-pass-header HTTP_AUTHORIZATION 
     30 
     31        FastCgiConfig -minProcesses 1 \ 
     32                      -maxProcesses 400 \ 
     33                      -maxClassProcesses 5 \ 
     34                      -multiThreshold 80 \ 
     35                      -killInterval 60 \ 
     36                      -startDelay 5 \ 
     37                      -idle-timeout 300 
     38                      # -singleThreshold 100 \ 
     39                      # -autoUpdate \ 
     40                      # -pass-header HTTP_AUTHORIZATION 
    3541 
    3642        FastCgiServer {PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} 
  • trunk/configs/dists/centos/apache/fastcgi2.conf

    r847 r994  
    1 # ISPCP ω (OMEGA) - Virtual Hosting Control System | Omega Version 
     1# ISPCP ω (OMEGA) a Virtual Hosting Control System 
    22# Copyright (c) 2006-2007 by ispCP | http://isp-control.net 
    33# 
     
    2323# 
    2424# @TODO : 
    25 # - Finish PHP5 Support 
    2625# - Finish config Fastcgi 
    2726 
    2827<IfModule mod_fastcgi.c> 
    29 FastCgiWrapper On 
    30 FastCgiIpcDir /var/lib/apache2/fastcgi2 
    31 FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100 
    32               #-killInterval 300 \ 
    33               #-autoUpdate \ 
    34               #-idle-timeout 240 \ 
    35               #-pass-header HTTP_AUTHORIZATION 
     28        FastCgiWrapper On 
     29        FastCgiIpcDir /var/lib/apache2/fastcgi2 
    3630 
    37 FastCgiServer {PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} 
     31        FastCgiConfig -minProcesses 1 \ 
     32                      -maxProcesses 400 \ 
     33                      -maxClassProcesses 5 \ 
     34                      -multiThreshold 80 \ 
     35                      -killInterval 60 \ 
     36                      -startDelay 5 \ 
     37                      -idle-timeout 300 
     38                      # -singleThreshold 100 \ 
     39                      # -autoUpdate \ 
     40                      # -pass-header HTTP_AUTHORIZATION 
    3841 
    39 
    40 # PHP{PHP_VERSION} SUPPORT 
    41 
     42        FastCgiServer {PHP_STARTER_DIR}/master/php{PHP_VERSION}-fcgi-starter -user {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_UID} -group {APACHE_SUEXEC_USER_PREF}{APACHE_SUEXEC_MIN_GID} 
    4243 
    43 AddHandler php-fastcgi .php .php{PHP_VERSION} 
     44        # 
     45        # PHP{PHP_VERSION} SUPPORT 
     46        # 
    4447 
    45 <Location /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter> 
    46     SetHandler fastcgi-script 
    47     Options +ExecCGI 
    48 </Location> 
     48        AddHandler php-fastcgi .php .php{PHP_VERSION} 
    4949 
    50 Action php-fastcgi /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter 
    51 AddType application/x-httpd-php .php .php{PHP_VERSION} 
     50        <Location /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter> 
     51            SetHandler fastcgi-script 
     52            Options +ExecCGI 
     53        </Location> 
     54 
     55        Action php-fastcgi /php{PHP_VERSION}/php{PHP_VERSION}-fcgi-starter 
     56        AddType application/x-httpd-php .php .php{PHP_VERSION} 
     57</IfModule> 
  • trunk/configs/dists/centos/apache/httpd.conf

    r847 r994  
    2727 
    2828# 
     29# let the customer decide what charset he likes to use 
     30# 
     31 
     32AddDefaultCharset Off 
     33 
     34# 
    2935# Header End 
    3036# 
  • trunk/configs/dists/centos/apache/parts/als_entry.tpl

    r847 r994  
    66    # 
    77 
    8     SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} 
     8    <IfModule suexec_module> 
     9           SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} 
     10    </IfModule> 
    911 
    1012    ServerAdmin     webmaster@{ALS_NAME} 
     
    5052    </Directory> 
    5153 
     54    Include {CUSTOM_SITES_CONFIG_DIR}/{ALS_NAME}.conf 
     55 
    5256</VirtualHost> 
  • trunk/configs/dists/centos/apache/parts/dmn_awstats_b.tpl

    r847 r994  
    1     # httpd awstats support BEGIN. 
     1   # httpd awstats support BEGIN. 
  • trunk/configs/dists/centos/apache/parts/dmn_awstats_e.tpl

    r847 r994  
    1     # httpd awstats support END. 
     1   # httpd awstats support END. 
  • trunk/configs/dists/centos/apache/parts/dmn_entry.tpl

    r847 r994  
    11<VirtualHost {DMN_IP}:80> 
    22 
    3     SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} 
     3    <IfModule suexec_module> 
     4           SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} 
     5    </IfModule> 
    46 
    57    ServerAdmin     webmaster@{DMN_NAME} 
     
    2224    ErrorDocument 500 /errors/500.html 
    2325    ErrorDocument 503 /errors/503.html 
    24  
    25     Redirect /ispcp http://{BASE_SERVER_VHOST} 
    2626 
    2727    <IfModule mod_cband.c> 
     
    4747    </Directory> 
    4848 
     49    Include {CUSTOM_SITES_CONFIG_DIR}/{DMN_NAME}.conf 
     50 
    4951</VirtualHost> 
  • trunk/configs/dists/centos/apache/parts/sub_entry.tpl

    r847 r994  
    66    # 
    77 
    8     SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} 
     8    <IfModule suexec_module> 
     9           SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} 
     10    </IfModule> 
    911 
    1012    ServerAdmin     webmaster@{DMN_NAME} 
     
    4749    </Directory> 
    4850 
     51    Include {CUSTOM_SITES_CONFIG_DIR}/{SUB_NAME}.conf 
     52 
    4953</VirtualHost> 
  • trunk/configs/dists/centos/awstats/Makefile

    r847 r994  
    44 
    55        $(SYSTEM_MAKE_DIRS) $(SYSTEM_CONF)/awstats 
    6         cp -R ./ $(SYSTEM_CONF)/awstats/awstats.ispcp_tpl.conf 
     6        cp -R ./awstats.ispcp_tpl.conf $(SYSTEM_CONF)/awstats 
    77 
    88uninstall: 
  • trunk/configs/dists/centos/awstats/awstats.ispcp_tpl.conf

    r847 r994  
    1 # AWSTATS CONFIGURE FILE 6.4 
     1# AWSTATS CONFIGURE FILE 6.6 
    22#----------------------------------------------------------------------------- 
    33# Copy this file into awstats.www.mydomain.conf and edit this new config file 
     
    1111# the config value in an AWStats running session and can be used like others. 
    1212#----------------------------------------------------------------------------- 
    13 # $Revision: 1.318 $ - $Author: eldy $ - $Date: 2005/06/22 23:20:29 $ 
     13# $Revision: 1.327 $ - $Author: eldy $ - $Date: 2006/04/21 22:28:49 $ 
    1414 
    1515 
     
    4646# You can also use a pipe if log file come from a pipe : 
    4747# Example: "gzip -d </var/log/apache/access.log.gz |" 
    48 # If there is several log files from load balancing servers : 
     48# If there are several log files from load balancing servers : 
    4949# Example: "/pathtotools/logresolvemerge.pl *.log |" 
    5050# 
    51 LogFile="/var/log/apache2/{DOMAIN_NAME}-combined.log" 
     51LogFile="{APACHE_LOG_DIR}/{DOMAIN_NAME}-combined.log" 
    5252 
    5353 
     
    145145# virtual web server. In this case, this parameter is only used to generate 
    146146# full URL's links when ShowLinksOnUrl option is set to 1. 
    147 # If analysing mail log, enter here the domain name of mail server. 
     147# If analyzing mail log, enter here the domain name of mail server. 
    148148# Example: "myintranetserver" 
    149149# Example: "www.domain.com" 
     
    166166# Example: "www.myserver.com localhost 127.0.0.1 REGEX[mydomain\.(net|org)$]" 
    167167# 
    168 HostAliases="www.{DOMAIN_NAME} REGEX[^.*\\{DOMAIN_NAME}$]" 
     168HostAliases="www.{DOMAIN_NAME} REGEX[^.*\.{DOMAIN_NAME}$]" 
    169169 
    170170 
     
    185185# 2 - DNS Lookup is made only from static DNS cache file (if it exists) 
    186186# Default: 2 
    187 #  
    188 DNSLookup=2 
    189  
    190  
    191 # When AWStats updates its statistics, it stores results of its analysis in  
     187# 
     188DNSLookup=1 
     189 
     190 
     191# When AWStats updates its statistics, it stores results of its analysis in 
    192192# files (AWStats database). All those files are written in the directory 
    193193# defined by the "DirData" parameter. Set this value to the directory where 
     
    201201# Default: "."          (means same directory as awstats.pl) 
    202202# 
    203 DirData="/var/cache/awstats
     203DirData="{AWSTATS_CACHE_DIR}
    204204 
    205205 
     
    210210# Default: "/cgi-bin"   (means awstats.pl is in "/yourwwwroot/cgi-bin") 
    211211# 
    212 DirCgi="/cgi-bin/awstats
     212DirCgi="{AWSTATS_ENGINE_DIR}
    213213 
    214214 
     
    223223 
    224224 
    225 # When this parameter is set to 1, AWStats add a button on report page to 
     225# When this parameter is set to 1, AWStats adds a button on report page to 
    226226# allow to "update" statistics from a web browser. Warning, when "update" is 
    227 # made from a browser, AWStats is ran as a CGI by the web server user defined 
     227# made from a browser, AWStats is run as a CGI by the web server user defined 
    228228# in your web server (user "nobody" by default with Apache, "IUSR_XXX" with 
    229229# IIS), so the "DirData" directory and all already existing history files 
     
    231231# necessary to "Read/Write" (and "Modify" for Windows NTFS file systems). 
    232232# Warning: Update process can be long so you might experience "time out" 
    233 # browser errors if you don't launch AWStats enough frequently
    234 # When set to 0, update is only made when AWStats is ran from the command 
     233# browser errors if you don't launch AWStats frequently enough
     234# When set to 0, update is only made when AWStats is run from the command 
    235235# line interface (or a task scheduler). 
    236236# Possible values: 0 or 1 
     
    240240 
    241241 
    242 # AWStats save and sort its database on a month basis, this allows to build 
    243 # build a report quickly. However, if you choose the -month=all from command 
    244 # line or value '-Year-' from CGI combo form to have a report for all year, 
    245 # AWStats needs to reload all data for full year, and resort them completely, 
     242# AWStats saves and sorts its database on a month basis (except if using 
     243# databasebreak option from command line). 
     244# However, if you choose the -month=all from command line or 
     245# value '-Year-' from CGI combo form to have a report for all year, AWStats 
     246# needs to reload all data for full year (each month), and sort them, 
    246247# requiring a large amount of time, memory and CPU. This might be a problem 
    247248# for web hosting providers that offer AWStats for large sites, on shared 
     
    256257# Default: 2 
    257258# 
    258 AllowFullYearView=2 
     259AllowFullYearView=3 
    259260 
    260261 
     
    264265#----------------------------------------------------------------------------- 
    265266 
    266 # When the update process run, AWStats can set a lock file in TEMP or TMP 
     267# When the update process runs, AWStats can set a lock file in TEMP or TMP 
    267268# directory. This lock is to avoid to have 2 update processes running at the 
    268269# same time to prevent unknown conflicts problems and avoid DoS attacks when 
     
    329330 
    330331 
    331 # This parameter give the list of all authorized authenticated users to view 
     332# This parameter gives the list of all authorized authenticated users to view 
    332333# statistics for this domain/config file. This parameter is used only if 
    333334# AllowAccessFromWebToAuthenticatedUsersOnly is set to 1. 
     
    340341 
    341342 
    342 # When this parameter is define to something, the IP address of the user that 
    343 # read its statistics from a browser (when AWStats is used as a CGI) is 
     343# When this parameter is defined to something, the IP address of the user that 
     344# reads its statistics from a browser (when AWStats is used as a CGI) is 
    344345# checked and must match one of the IP address values or ranges. 
    345346# Change : Effective immediatly 
     
    350351 
    351352 
    352 # If the "DirData" directory (see above) does not exists, AWStats return an 
     353# If the "DirData" directory (see above) does not exist, AWStats return an 
    353354# error. However, you can ask AWStats to create it. 
    354 # This option can be used by some Web Hosting Providers that has defined a  
     355# This option can be used by some Web Hosting Providers that has defined a 
    355356# dynamic value for DirData (for example DirData="/home/__REMOTE_USER__") and 
    356357# don't want to have to create a new directory each time they add a new user. 
     
    373374 
    374375# If you prefer having the report output pages be built as XML compliant pages 
    375 # instead of simple HTML pages, you can set this to 'xhtml' (May not works 
     376# instead of simple HTML pages, you can set this to 'xhtml' (May not work 
    376377# properly with old browsers). 
    377378# Change : Effective immediatly 
     
    386387# for both command line user and default web server user (nobody for Unix, 
    387388# IUSR_xxx for IIS/Windows,...). 
    388 # To avoid permission's problems between update process (run by an admin user) 
    389 # and CGI process (ran by a low level user), AWStats can save its database  
     389# To avoid permission problems between update process (run by an admin user) 
     390# and CGI process (ran by a low level user), AWStats can save its database 
    390391# files with read and write permissions for everyone. 
    391 # By default, AWStats keep default user permissions on updated files. If you  
     392# By default, AWStats keeps default user permissions on updated files. If you 
    392393# set AllowToUpdateStatsFromBrowser to 1, you can change this parameter to 1. 
    393394# Change : Effective for new updates only 
     
    403404# With 0, no purge is made, so you must use a scheduled task or a web server 
    404405# that make this purge frequently. 
    405 # With 1, the purge of the log file is made each time AWStats update is ran. 
     406# With 1, the purge of the log file is made each time AWStats update is run. 
    406407# This parameter doesn't work with IIS (This web server doesn't let its log 
    407408# file to be purged). 
     
    428429 
    429430 
    430 # Each time you run the update process, AWStats overwrite the 'historic file' 
     431# Each time you run the update process, AWStats overwrites the 'historic file' 
    431432# for the month (awstatsMMYYYY[.*].txt) with the updated one. 
    432433# When write errors occurs (IO, disk full,...), this historic file can be 
     
    451452 
    452453# Do not include access from clients that match following criteria. 
    453 # If your log file contains IP adresses in host field, you must enter here 
    454 # matching IP adresses criteria. 
     454# If your log file contains IP addresses in host field, you must enter here 
     455# matching IP addresses criteria. 
    455456# If DNS lookup is already done in your log file, you must enter here hostname 
    456457# criteria, else enter ip address criteria. 
     
    494495# Default: "" 
    495496# 
    496 SkipFiles="" 
     497SkipFiles="/stats/" 
     498 
     499 
     500# Use SkipReferrersBlackList if you want to exclude records coming from a SPAM 
     501# referrer. Parameter must receive a local file name containing rules applied 
     502# on referrer field. If parameter is empty, no filter is applied. 
     503# An example of such a file is available in lib/blacklist.txt 
     504# You can download updated version at http://www.jayallen.org/comment_spam/ 
     505# Change : Effective for new updates only 
     506# Example: "/mylibpath/blacklist.txt" 
     507# Default: "" 
     508
     509# WARNING!! Using this feature make AWStats running very slower (5 times slower 
     510# with black list file provided with AWStats ! 
     511
     512SkipReferrersBlackList="" 
    497513 
    498514 
    499515# Include in stats, only accesses from hosts that match one of following 
    500516# entries. For example, if you want AWStats to filter access to keep only 
    501 # stats for visits from particular hosts, you can add those hosts names in 
     517# stats for visits from particular hosts, you can add those host names in 
    502518# this parameter. 
    503519# If DNS lookup is already done in your log file, you must enter here hostname 
     
    544560# Add here a list of kind of url (file extension) that must be counted as 
    545561# "Hit only" and not as a "Hit" and "Page/Download". You can set here all 
    546 # images extensions as they are hit downloaded that must be counted but they 
     562# image extensions as they are hit downloaded that must be counted but they 
    547563# are not viewed pages. URLs with such extensions are not included in the TOP 
    548564# Pages/URL report. 
     
    563579# default in this list as they are not pages seen by a visitor but are 
    564580# protocol exchange codes to tell the browser to ask another page. Because 
    565 # this other page will be counted and seen with a 200 or 304 code, if you  
     581# this other page will be counted and seen with a 200 or 304 code, if you 
    566582# add such codes, you will have 2 pages viewed reported for only one in facts. 
    567583# Change : Effective for new updates only 
     
    582598 
    583599 
    584 # Some web servers on some Operating systems (IIS-Windows) considers that a 
     600# Some web servers on some Operating systems (IIS-Windows) consider that a 
    585601# login with same value but different case are the same login. To tell AWStats 
    586 # to also considers them as one, set this parameter to 1. 
    587 # Change : Effective for new updates only 
    588 # Possible values: 0 or 1 
    589 # Default: 0 
    590 #  
     602# to also consider them as one, set this parameter to 1. 
     603# Change : Effective for new updates only 
     604# Possible values: 0 or 1 
     605# Default: 0 
     606# 
    591607AuthenticatedUsersNotCaseSensitive=0 
    592608 
     
    598614# Possible values: 0 or 1 
    599615# Default: 0 
    600 #  
     616# 
    601617URLNotCaseSensitive=0 
    602618 
     
    612628# In URL links, "?" char is used to add parameter's list in URLs. Syntax is: 
    613629# /mypage.html?param1=value1&param2=value2 
    614 # However, some servers/sites use also others chars to isolate dynamic part of 
     630# However, some servers/sites use also other chars to isolate dynamic part of 
    615631# their URLs. You can complete this list with all such characters. 
    616632# Change : Effective for new updates only 
     
    628644# increased if you have a lot of changing URLs (for example URLs with a random 
    629645# id inside). Such web sites should not set this option to 1 or use seriously 
    630 # the next parameter URLWithQueryWithOnlyFollowingParameters (or eventually  
     646# the next parameter URLWithQueryWithOnlyFollowingParameters (or eventually 
    631647# URLWithQueryWithoutFollowingParameters). 
    632648# Change : Effective for new updates only 
     
    635651# 1 - Full URL with query string is used     (ie: "/mypage.html?p=x&q=y") 
    636652# Default: 0 
    637 #  
     653# 
    638654URLWithQuery=0 
    639655 
     
    653669# Example: "param" 
    654670# Default: "" 
    655 #  
     671# 
    656672URLWithQueryWithOnlyFollowingParameters="" 
    657673 
     
    671687# Example: "PHPSESSID jsessionid" 
    672688# Default: "" 
    673 #  
     689# 
    674690URLWithQueryWithoutFollowingParameters="" 
    675691 
     
    684700# 1 - Full URL with query string is used      (ie: "/mypage.html?p=x&q=y") 
    685701# Default: 0 
    686 #  
     702# 
    687703URLReferrerWithQuery=0 
    688704 
     
    697713 
    698714 
    699 # When an error occurs, AWStats output a message related to errors. If you 
     715# When an error occurs, AWStats outputs a message related to errors. If you 
    700716# want (in most cases for security reasons) to have no error messages, you 
    701717# can set this parameter to your personalized generic message. 
    702718# Change : Effective immediatly 
    703 # Example: "An error occured. Contact your Administrator" 
     719# Example: "An error occurred. Contact your Administrator" 
    704720# Default: "" 
    705721# 
     
    717733 
    718734 
    719 # To help you to detect if your log format is good, AWStats report an error 
     735# To help you to detect if your log format is good, AWStats reports an error 
    720736# if all the first NbOfLinesForCorruptedLog lines have a format that does not 
    721737# match the LogFormat parameter. 
     
    741757 
    742758# DecodeUA must be set to 1 if you use Roxen web server. This server converts 
    743 # all spaces in user agent field into %20. This make the AWStats robots, os 
     759# all spaces in user agent field into %20. This make the AWStats robots, OS 
    744760# and browsers detection fail in some cases. Just change it to 1 if and only 
    745761# if your web server is Roxen. 
     
    751767 
    752768 
    753 # MiscTrackerUrl can be used to make AWStats able to detect some miscellanous 
     769# MiscTrackerUrl can be used to make AWStats able to detect some miscellaneous 
    754770# things, that can not be tracked on other way, like: 
    755771# - Javascript disabled 
     
    763779# - Mediaplayer plugin 
    764780# - Acrobat PDF plugin 
    765 # To enable all this features, you must copy the awstats_misc_tracker.js file 
     781# To enable all these features, you must copy the awstats_misc_tracker.js file 
    766782# into a /js/ directory stored in your web document root and add the following 
    767783# HTML code at the end of your index page (but before </BODY>) : 
     
    787803#----------------------------------------------------------------------------- 
    788804 
    789 # Following values allows you to define accuracy of AWStats entities (robots, 
    790 # browsers, os, referers, file types) detection. 
     805# The following values allow you to define accuracy of AWStats entities 
     806# (robots, browsers, os, referers, file types) detection. 
    791807# It might be a good idea for large web sites or ISP that provides AWStats to 
    792808# high number of customers, to set this parameter to 1 (or 0), instead of 2. 
    793809# Possible values: 
    794 #  0 = No detection, 
    795 #  1 = Medium/Standard detection 
    796 #  2 = Full detection 
    797 # Change : Effective for new updates only 
     810#    0      = No detection, 
     811#    1      = Medium/Standard detection 
     812#    2      = Full detection 
     813# Change : Effective for new updates only 
     814# Note   : LevelForBrowsersDetection can also accept value "allphones". This 
     815#          enable detailed detection of phone/pda browsers. 
    798816# Default: 2 (0 for LevelForWormsDetection) 
    799817# 
    800818LevelForBrowsersDetection=2         # 0 disables Browsers detection. 
    801819                                    # 2 reduces AWStats speed by 2% 
     820                                    # allphones reduces AWStats speed by 5% 
    802821LevelForOSDetection=2               # 0 disables OS detection. 
    803822                                    # 2 reduces AWStats speed by 3% 
     
    830849 
    831850 
    832 # This parameter ask your browser to open detailed reports into a different 
     851# This parameter asks your browser to open detailed reports into a different 
    833852# window than the main page. 
    834853# Possible values: 
     
    842861 
    843862# You can add, in the HTML report page, a cache lifetime (in seconds) that 
    844 # will be returned to browser in HTTP header answer by server. 
    845 # This parameter is not used when report are built with -staticlinks option. 
     863# will be returned to the browser in HTTP header answer by server. 
     864# This parameter is not used when reports are built with -staticlinks option. 
    846865# Example: 3600 
    847866# Default: 0 
     
    851870 
    852871# To avoid too large web pages, you can ask AWStats to limit number of rows of 
    853 # all reported charts to this number when no other limit apply. 
     872# all reported charts to this number when no other limits apply. 
    854873# Default: 1000 
    855874# 
     
    858877 
    859878# Set your primary language (ISO-639-1 language codes). 
    860 # Possible value
     879# Possible values
    861880#  Albanian=al, Bosnian=ba, Bulgarian=bg, Catalan=ca, 
    862881#  Chinese (Taiwan)=tw, Chinese (Simpliefied)=cn, Croatian=hr, Czech=cz, 
    863882#  Danish=dk, Dutch=nl, English=en, Estonian=et, Euskara=eu, Finnish=fi, 
    864883#  French=fr, Galician=gl, German=de, Greek=gr, Hebrew=he, Hungarian=hu, 
    865 #  Icelandic=is, Indonesian=id, Italian=it, Japanese=jp, Korean=kr
     884#  Icelandic=is, Indonesian=id, Italian=it, Japanese=jp, Korean=ko
    866885#  Latvian=lv, Norwegian (Nynorsk)=nn, Norwegian (Bokmal)=nb, Polish=pl, 
    867886#  Portuguese=pt, Portuguese (Brazilian)=br, Romanian=ro, Russian=ru, 
     
    878897# Default: "./lang" (means lang directory is in same location than awstats.pl) 
    879898# 
    880 DirLang="./lang" 
     899DirLang="{AWSTATS_WEB_DIR}/lang" 
    881900 
    882901 
     
    885904# Default: 1 
    886905# 
    887 ShowMenu=1                                      
     906ShowMenu=1 
    888907 
    889908 
     
    9851004# Context: Web, Streaming, Mail, Ftp 
    9861005# Default: 1, Possible column codes: None 
    987 ShowFileSizesStats=0            
     1006ShowFileSizesStats=0 
    9881007 
    9891008# Show operating systems chart 
     
    10391058 
    10401059# Some graphical reports are followed by the data array of values. 
    1041 # If you don't want this array (to reduce report size for example), you can 
    1042 # set thoose options to 0. 
     1060# If you don't want this array (to reduce the report size for example), you 
     1061# can set thoose options to 0. 
    10431062# Possible values: 0 or 1 
    10441063# Default: 1 
     
    10551074 
    10561075# In the Origin chart, you have stats on where your hits came from. You can 
    1057 # includes hits on pages that comes from pages of same sites in this chart. 
     1076# include hits on pages that come from pages of same sites in this chart. 
    10581077# Possible values: 0 or 1 
    10591078# Default: 0 
     
    10621081 
    10631082 
    1064 # Following parameter can be used to choose maximum number of lines shown for 
    1065 # the particular following report
     1083# The following parameters can be used to choose the maximum number of lines 
     1084# shown for the particular following reports
    10661085# 
    10671086# Stats by countries/domains 
     
    11081127# Choose if you want the week report to start on sunday or monday 
    11091128# Possible values: 
    1110 # 0 - Week start on sunday 
    1111 # 1 - Week start on monday 
     1129# 0 - Week starts on sunday 
     1130# 1 - Week starts on monday 
    11121131