Changeset 1001
- Timestamp:
- 02/13/08 11:57:43
(8 months ago)
- Author:
- rats
- Message:
FreeBSD:
* Fixed #901: fix some config path in freebsd distro
* Updated all config files ro RC4
OpenBSD:
* Fixed #118: configs/dists/openbsd/apache/BSDmakefile references fastcgi.conf which is unavailable
* Updated FreeBSD, OpenBSD
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r999 |
r1001 |
|
| 9 | 9 | - GUI: |
|---|
| 10 | 10 | * Fixed #934: Prohibit creation of default subdomains |
|---|
| | 11 | - DISTS: |
|---|
| | 12 | FreeBSD: |
|---|
| | 13 | * Fixed #901: fix some config path in freebsd distro |
|---|
| | 14 | * Updated all config files ro RC4 |
|---|
| | 15 | OpenBSD: |
|---|
| | 16 | * Fixed #118: configs/dists/openbsd/apache/BSDmakefile references fastcgi.conf which is unavailable |
|---|
| | 17 | - DOCU: |
|---|
| | 18 | * Updated FreeBSD, OpenBSD |
|---|
| 11 | 19 | |
|---|
| 12 | 20 | 2008-02-12 Christian Hernmarck |
|---|
| r558 |
r1001 |
|
| 6 | 6 | cd ./awstats && $(MAKE) install ; cd .. |
|---|
| 7 | 7 | cd ./bind && $(MAKE) install ; cd .. |
|---|
| 8 | | cd ./crontab && $(MAKE) install ; cd .. |
|---|
| | 8 | cd ./cron.d && $(MAKE) install ; cd .. |
|---|
| 9 | 9 | cd ./database && $(MAKE) install ; cd .. |
|---|
| 10 | 10 | cd ./fcgi && $(MAKE) install ; cd .. |
|---|
| … | … | |
| 20 | 20 | cd ./awstats && $(MAKE) uninstall ; cd .. |
|---|
| 21 | 21 | cd ./bind && $(MAKE) uninstall ; cd .. |
|---|
| 22 | | cd ./crontab && $(MAKE) uninstall ; cd .. |
|---|
| | 22 | cd ./cron.d && $(MAKE) uninstall ; cd .. |
|---|
| 23 | 23 | cd ./database && $(MAKE) uninstall ; cd .. |
|---|
| 24 | 24 | cd ./fcgi && $(MAKE) install ; cd .. |
|---|
| r653 |
r1001 |
|
| 19 | 19 | Alias /errors {ROOT_DIR}/gui/errordocs/ |
|---|
| 20 | 20 | |
|---|
| 21 | | ErrorDocument 401 /errors/index.php |
|---|
| 22 | | ErrorDocument 403 /errors/index.php |
|---|
| 23 | | ErrorDocument 404 /errors/index.php |
|---|
| 24 | | ErrorDocument 500 /errors/index.php |
|---|
| | 21 | ErrorDocument 401 /errors/401.html |
|---|
| | 22 | ErrorDocument 403 /errors/403.html |
|---|
| | 23 | ErrorDocument 404 /errors/404.html |
|---|
| | 24 | ErrorDocument 500 /errors/500.html |
|---|
| | 25 | ErrorDocument 503 /errors/503.html |
|---|
| 25 | 26 | |
|---|
| 26 | 27 | Alias /pma {ROOT_DIR}/gui/tools/pma/ |
|---|
| … | … | |
| 28 | 29 | Alias /ftp {ROOT_DIR}/gui/tools/filemanager/ |
|---|
| 29 | 30 | |
|---|
| 30 | | <IfModule mod_fastcgi.c> |
|---|
| | 31 | <IfModule mod_suexec.c> |
|---|
| 31 | 32 | SuexecUserGroup vu2000 vu2000 |
|---|
| 32 | 33 | </IfModule> |
|---|
| … | … | |
| 52 | 53 | <IfModule mod_php4.c> |
|---|
| 53 | 54 | <Directory {ROOT_DIR}/gui> |
|---|
| 54 | | php_admin_value open_basedir "{ROOT_DIR}/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" |
|---|
| | 55 | php_admin_value open_basedir "{ROOT_DIR}/gui/:/etc/ispcp/:/proc/:{APACHE_WWW_DIR}/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" |
|---|
| 55 | 56 | php_admin_value session.save_path "{ROOT_DIR}/gui/phptmp/" |
|---|
| 56 | 57 | </Directory> |
|---|
| … | … | |
| 58 | 59 | <IfModule mod_php5.c> |
|---|
| 59 | 60 | <Directory {ROOT_DIR}/gui> |
|---|
| 60 | | php_admin_value open_basedir "{ROOT_DIR}/gui/:/etc/ispcp/:/proc/:/var/www/virtual/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" |
|---|
| | 61 | php_admin_value open_basedir "{ROOT_DIR}/gui/:/etc/ispcp/:/proc/:{APACHE_WWW_DIR}/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" |
|---|
| 61 | 62 | php_admin_value session.save_path "{ROOT_DIR}/gui/phptmp/" |
|---|
| 62 | 63 | </Directory> |
|---|
| r837 |
r1001 |
|
| 3 | 3 | # AWStats Begin |
|---|
| 4 | 4 | # |
|---|
| | 5 | |
|---|
| | 6 | Alias /awstatsicons "{AWSTATS_WEB_DIR}/icon/" |
|---|
| | 7 | |
|---|
| 5 | 8 | |
|---|
| 6 | 9 | NameVirtualHost 127.0.0.1:80 |
|---|
| … | … | |
| 10 | 13 | <IfModule mod_rewrite.c> |
|---|
| 11 | 14 | 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] |
|---|
| 14 | 17 | </IfModule> |
|---|
| 15 | 18 | |
|---|
| 16 | | ScriptAlias /awstats "/usr/lib/cgi-bin/awstats.pl" |
|---|
| | 19 | ScriptAlias /awstats "{AWSTATS_ENGINE_DIR}/awstats.pl" |
|---|
| 17 | 20 | |
|---|
| 18 | | <Directory /usr/lib/cgi-bin> |
|---|
| | 21 | <Directory {AWSTATS_ENGINE_DIR}> |
|---|
| 19 | 22 | AllowOverride none |
|---|
| 20 | 23 | Options +ExecCGI |
|---|
| r653 |
r1001 |
|
| 1 | | # ISPCP ω (OMEGA) - Virtual Hosting Control System | Omega Version |
|---|
| | 1 | # ISPCP ω (OMEGA) a Virtual Hosting Control System |
|---|
| 2 | 2 | # Copyright (c) 2006-2007 by ispCP | http://isp-control.net |
|---|
| 3 | 3 | # |
|---|
| … | … | |
| 23 | 23 | # |
|---|
| 24 | 24 | # @TODO : |
|---|
| 25 | | # - Finish PHP5 Support |
|---|
| 26 | 25 | # - Finish config Fastcgi |
|---|
| 27 | 26 | |
|---|
| 28 | 27 | <IfModule mod_fastcgi.c> |
|---|
| 29 | | FastCgiWrapper On |
|---|
| 30 | | FastCgiIpcDir /var/lib/apache2/fastcgi |
|---|
| 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/fastcgi |
|---|
| 36 | 30 | |
|---|
| 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 |
|---|
| 38 | 41 | |
|---|
| 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} |
|---|
| 42 | 43 | |
|---|
| 43 | | AddHandler php-fastcgi .php .php{PHP_VERSION} |
|---|
| | 44 | # |
|---|
| | 45 | # PHP{PHP_VERSION} SUPPORT |
|---|
| | 46 | # |
|---|
| 44 | 47 | |
|---|
| 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} |
|---|
| 49 | 49 | |
|---|
| 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> |
|---|
| r432 |
r1001 |
|
| 18 | 18 | |
|---|
| 19 | 19 | # |
|---|
| 20 | | # AWStats |
|---|
| | 20 | # mod_cband configuration |
|---|
| 21 | 21 | # |
|---|
| 22 | 22 | |
|---|
| 23 | | Alias /awstatsclasses "/var/www/awstats/classes/" |
|---|
| 24 | | Alias /awstatscss "/var/www/awstats/css/" |
|---|
| 25 | | Alias /awstatsicons "/var/www/awstats/icon/" |
|---|
| 26 | | Alias /awstatsjs "/var/www/awstats/js/" |
|---|
| 27 | | Alias /stats "/usr/lib/cgi-bin/awstats/" |
|---|
| | 23 | <IfModule mod_cband.c> |
|---|
| | 24 | CBandScoreFlushPeriod 10 |
|---|
| | 25 | CBandRandomPulse On |
|---|
| | 26 | </IfModule> |
|---|
| 28 | 27 | |
|---|
| 29 | | <Directory /usr/lib/cgi-bin/awstats> |
|---|
| 30 | | AllowOverride AuthConfig |
|---|
| 31 | | Options -Includes FollowSymLinks +ExecCGI MultiViews |
|---|
| 32 | | AddHandler cgi-script cgi pl |
|---|
| 33 | | DirectoryIndex awstats.pl |
|---|
| 34 | | Order deny,allow |
|---|
| 35 | | Allow from all |
|---|
| 36 | | </Directory> |
|---|
| | 28 | # |
|---|
| | 29 | # let the customer decide what charset he likes to use |
|---|
| | 30 | # |
|---|
| | 31 | |
|---|
| | 32 | AddDefaultCharset Off |
|---|
| 37 | 33 | |
|---|
| 38 | 34 | # |
|---|
| r833 |
r1001 |
|
| 6 | 6 | # |
|---|
| 7 | 7 | |
|---|
| 8 | | SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} |
|---|
| | 8 | <IfModule mod_suexec.c> |
|---|
| | 9 | SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} |
|---|
| | 10 | </IfModule> |
|---|
| 9 | 11 | |
|---|
| 10 | 12 | ServerAdmin webmaster@{ALS_NAME} |
|---|
| … | … | |
| 50 | 52 | </Directory> |
|---|
| 51 | 53 | |
|---|
| | 54 | Include {CUSTOM_SITES_CONFIG_DIR}/{ALS_NAME}.conf |
|---|
| | 55 | |
|---|
| 52 | 56 | </VirtualHost> |
|---|
| r837 |
r1001 |
|
| 1 | | # httpd awstats support BEGIN. |
|---|
| | 1 | # httpd awstats support BEGIN. |
|---|
| r837 |
r1001 |
|
| 1 | | # httpd awstats support END. |
|---|
| | 1 | # httpd awstats support END. |
|---|
| r835 |
r1001 |
|
| 1 | 1 | <VirtualHost {DMN_IP}:80> |
|---|
| 2 | 2 | |
|---|
| 3 | | SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} |
|---|
| | 3 | <IfModule mod_suexec.c> |
|---|
| | 4 | SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} |
|---|
| | 5 | </IfModule> |
|---|
| 4 | 6 | |
|---|
| 5 | 7 | ServerAdmin webmaster@{DMN_NAME} |
|---|
| … | … | |
| 17 | 19 | Alias /errors {WWW_DIR}/{DMN_NAME}/errors/ |
|---|
| 18 | 20 | |
|---|
| | 21 | Redirect permanent /ftp http://{BASE_SERVER_VHOST}/ftp/ |
|---|
| | 22 | Redirect permanent /pma http://{BASE_SERVER_VHOST}/pma/ |
|---|
| | 23 | Redirect permanent /webmail http://{BASE_SERVER_VHOST}/webmail/ |
|---|
| | 24 | |
|---|
| 19 | 25 | ErrorDocument 401 /errors/401.html |
|---|
| 20 | 26 | ErrorDocument 403 /errors/403.html |
|---|
| … | … | |
| 22 | 28 | ErrorDocument 500 /errors/500.html |
|---|
| 23 | 29 | ErrorDocument 503 /errors/503.html |
|---|
| 24 | | |
|---|
| 25 | | Redirect /ispcp http://{BASE_SERVER_VHOST} |
|---|
| 26 | 30 | |
|---|
| 27 | 31 | <IfModule mod_cband.c> |
|---|
| … | … | |
| 47 | 51 | </Directory> |
|---|
| 48 | 52 | |
|---|
| | 53 | Include {CUSTOM_SITES_CONFIG_DIR}/{DMN_NAME}.conf |
|---|
| | 54 | |
|---|
| 49 | 55 | </VirtualHost> |
|---|
| r833 |
r1001 |
|
| 6 | 6 | # |
|---|
| 7 | 7 | |
|---|
| 8 | | SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} |
|---|
| | 8 | <IfModule mod_suexec.c> |
|---|
| | 9 | SuexecUserGroup {SUEXEC_USER} {SUEXEC_GROUP} |
|---|
| | 10 | </IfModule> |
|---|
| 9 | 11 | |
|---|
| 10 | 12 | ServerAdmin webmaster@{DMN_NAME} |
|---|
| … | … | |
| 47 | 49 | </Directory> |
|---|
| 48 | 50 | |
|---|
| | 51 | Include {CUSTOM_SITES_CONFIG_DIR}/{SUB_NAME}.conf |
|---|
| | 52 | |
|---|
| 49 | 53 | </VirtualHost> |
|---|
| r473 |
r1001 |
|
| 1 | | # httpd Data BEGIN. |
|---|
| 2 | 1 | |
|---|
| 3 | 2 | # |
|---|
| 4 | | # wget-hack prevention |
|---|
| | 3 | # This file will be replaced by ../httpd.conf when make is executed |
|---|
| 5 | 4 | # |
|---|
| 6 | | |
|---|
| 7 | | <IfModule mod_rewrite.c> |
|---|
| 8 | | RewriteEngine on |
|---|
| 9 | | RewriteCond %{HTTP_USER_AGENT} ^LWP::Simple |
|---|
| 10 | | RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1] |
|---|
| 11 | | </IfModule> |
|---|
| 12 | | |
|---|
| 13 | | # |
|---|
| 14 | | # Web traffic accounting. |
|---|
| 15 | | # |
|---|
| 16 | | |
|---|
| 17 | | LogFormat "%B" traff |
|---|
| 18 | | |
|---|
| 19 | | # |
|---|
| 20 | | # GUI Location. |
|---|
| 21 | | # |
|---|
| 22 | | |
|---|
| 23 | | Alias /ispcp /var/www/ispcp/gui |
|---|
| 24 | | <Directory /var/www/ispcp/gui> |
|---|
| 25 | | AllowOverride none |
|---|
| 26 | | Options MultiViews IncludesNoExec FollowSymLinks |
|---|
| 27 | | ErrorDocument 404 /ispcp/errordocs/index.php |
|---|
| 28 | | DirectoryIndex index.html index.php |
|---|
| 29 | | </Directory> |
|---|
| 30 | | |
|---|
| 31 | | <Directory /var/www/ispcp/gui/tools/filemanager> |
|---|
| 32 | | <IfModule mod_php4.c> |
|---|
| 33 | | php_flag register_globals On |
|---|
| 34 | | php_admin_value open_basedir "/var/www/ispcp/gui/tools/filemanager/:/tmp/:/usr/share/php/" |
|---|
| 35 | | </IfModule> |
|---|
| 36 | | </Directory> |
|---|
| 37 | | |
|---|
| 38 | | Alias /ispcp_images /var/www/ispcp/gui/images |
|---|
| 39 | | <Directory /var/www/ispcp/gui/images> |
|---|
| 40 | | AllowOverride none |
|---|
| 41 | | Options MultiViews IncludesNoExec FollowSymLinks |
|---|
| 42 | | </Directory> |
|---|
| 43 | | |
|---|
| 44 | | # |
|---|
| 45 | | # AWStats |
|---|
| 46 | | # |
|---|
| 47 | | |
|---|
| 48 | | Alias /awstatsclasses "/var/www/awstats/classes/" |
|---|
| 49 | | Alias /awstatscss "/var/www/awstats/css/" |
|---|
| 50 | | Alias /awstatsicons "/var/www/awstats/icon/" |
|---|
| 51 | | Alias /awstatsjs "/var/www/awstats/js/" |
|---|
| 52 | | Alias /stats "/usr/lib/cgi-bin/awstats/" |
|---|
| 53 | | |
|---|
| 54 | | <Directory /usr/lib/cgi-bin/awstats> |
|---|
| 55 | | AllowOverride AuthConfig |
|---|
| 56 | | Options -Includes FollowSymLinks +ExecCGI MultiViews |
|---|
| 57 | | AddHandler cgi-script cgi pl |
|---|
| 58 | | DirectoryIndex awstats.pl |
|---|
| 59 | | Order deny,allow |
|---|
| 60 | | Allow from all |
|---|
| 61 | | </Directory> |
|---|
| 62 | | |
|---|
| 63 | | # |
|---|
| 64 | | # Header End |
|---|
| 65 | | # |
|---|
| 66 | | |
|---|
| 67 | | # httpd [{IP}] virtual host entry BEGIN. |
|---|
| 68 | | # httpd [{IP}] virtual host entry END. |
|---|
| 69 | | |
|---|
| 70 | | # httpd Data END. |
|---|
| r525 |
r1001 |
|
| 1 | | # AWSTATS CONFIGURE FILE 6.4 |
|---|
| | 1 | # AWSTATS CONFIGURE FILE 6.6 |
|---|
| 2 | 2 | #----------------------------------------------------------------------------- |
|---|
| 3 | 3 | # Copy this file into awstats.www.mydomain.conf and edit this new config file |
|---|
| … | … | |
| 11 | 11 | # the config value in an AWStats running session and can be used like others. |
|---|
| 12 | 12 | #----------------------------------------------------------------------------- |
|---|
| 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 $ |
|---|
| 14 | 14 | |
|---|
| 15 | 15 | |
|---|
| … | … | |
| 46 | 46 | # You can also use a pipe if log file come from a pipe : |
|---|
| 47 | 47 | # 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 : |
|---|
| 49 | 49 | # Example: "/pathtotools/logresolvemerge.pl *.log |" |
|---|
| 50 | 50 | # |
|---|
| 51 | | LogFile="/var/log/apache2/{DOMAIN_NAME}-combined.log" |
|---|
| | 51 | LogFile="{APACHE_LOG_DIR}/{DOMAIN_NAME}-combined.log" |
|---|
| 52 | 52 | |
|---|
| 53 | 53 | |
|---|
| … | … | |
| 145 | 145 | # virtual web server. In this case, this parameter is only used to generate |
|---|
| 146 | 146 | # 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. |
|---|
| 148 | 148 | # Example: "myintranetserver" |
|---|
| 149 | 149 | # Example: "www.domain.com" |
|---|
| … | … | |
| 166 | 166 | # Example: "www.myserver.com localhost 127.0.0.1 REGEX[mydomain\.(net|org)$]" |
|---|
| 167 | 167 | # |
|---|
| 168 | | HostAliases="www.{DOMAIN_NAME} REGEX[^.*\\{DOMAIN_NAME}$]" |
|---|
| | 168 | HostAliases="www.{DOMAIN_NAME} REGEX[^.*\.{DOMAIN_NAME}$]" |
|---|
| 169 | 169 | |
|---|
| 170 | 170 | |
|---|
| … | … | |
| 185 | 185 | # 2 - DNS Lookup is made only from static DNS cache file (if it exists) |
|---|
| 186 | 186 | # Default: 2 |
|---|
| 187 | | # |
|---|
| 188 | | DNSLookup=2 |
|---|
| 189 | | |
|---|
| 190 | | |
|---|
| 191 | | # When AWStats updates its statistics, it stores results of its analysis in |
|---|
| | 187 | # |
|---|
| | 188 | DNSLookup=1 |
|---|
| | 189 | |
|---|
| | 190 | |
|---|
| | 191 | # When AWStats updates its statistics, it stores results of its analysis in |
|---|
| 192 | 192 | # files (AWStats database). All those files are written in the directory |
|---|
| 193 | 193 | # defined by the "DirData" parameter. Set this value to the directory where |
|---|
| … | … | |
| 201 | 201 | # Default: "." (means same directory as awstats.pl) |
|---|
| 202 | 202 | # |
|---|
| 203 | | DirData="/var/cache/awstats" |
|---|
| | 203 | DirData="{AWSTATS_CACHE_DIR}" |
|---|
| 204 | 204 | |
|---|
| 205 | 205 | |
|---|
| … | … | |
| 210 | 210 | # Default: "/cgi-bin" (means awstats.pl is in "/yourwwwroot/cgi-bin") |
|---|
| 211 | 211 | # |
|---|
| 212 | | DirCgi="/cgi-bin/awstats" |
|---|
| | 212 | DirCgi="{AWSTATS_ENGINE_DIR}" |
|---|
| 213 | 213 | |
|---|
| 214 | 214 | |
|---|
| … | … | |
| 223 | 223 | |
|---|
| 224 | 224 | |
|---|
| 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 |
|---|
| 226 | 226 | # 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 |
|---|
| 228 | 228 | # in your web server (user "nobody" by default with Apache, "IUSR_XXX" with |
|---|
| 229 | 229 | # IIS), so the "DirData" directory and all already existing history files |
|---|
| … | … | |
| 231 | 231 | # necessary to "Read/Write" (and "Modify" for Windows NTFS file systems). |
|---|
| 232 | 232 | # 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 |
|---|
| 235 | 235 | # line interface (or a task scheduler). |
|---|
| 236 | 236 | # Possible values: 0 or 1 |
|---|
| … | … | |
| 240 | 240 | |
|---|
| 241 | 241 | |
|---|
| 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, |
|---|
| 246 | 247 | # requiring a large amount of time, memory and CPU. This might be a problem |
|---|
| 247 | 248 | # for web hosting providers that offer AWStats for large sites, on shared |
|---|
| … | … | |
| 256 | 257 | # Default: 2 |
|---|
| 257 | 258 | # |
|---|
| 258 | | AllowFullYearView=2 |
|---|
| | 259 | AllowFullYearView=3 |
|---|
| 259 | 260 | |
|---|
| 260 | 261 | |
|---|
| … | … | |
| 264 | 265 | #----------------------------------------------------------------------------- |
|---|
| 265 | 266 | |
|---|
| 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 |
|---|
| 267 | 268 | # directory. This lock is to avoid to have 2 update processes running at the |
|---|
| 268 | 269 | # same time to prevent unknown conflicts problems and avoid DoS attacks when |
|---|
| … | … | |
| 329 | 330 | |
|---|
| 330 | 331 | |
|---|
| 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 |
|---|
| 332 | 333 | # statistics for this domain/config file. This parameter is used only if |
|---|
| 333 | 334 | # AllowAccessFromWebToAuthenticatedUsersOnly is set to 1. |
|---|
| … | … | |
| 340 | 341 | |
|---|
| 341 | 342 | |
|---|
| 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 |
|---|
| 344 | 345 | # checked and must match one of the IP address values or ranges. |
|---|
| 345 | 346 | # Change : Effective immediatly |
|---|
| … | … | |
| 350 | 351 | |
|---|
| 351 | 352 | |
|---|
| 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 |
|---|
| 353 | 354 | # 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 |
|---|
| 355 | 356 | # dynamic value for DirData (for example DirData="/home/__REMOTE_USER__") and |
|---|
| 356 | 357 | # don't want to have to create a new directory each time they add a new user. |
|---|
| … | … | |
| 373 | 374 | |
|---|
| 374 | 375 | # 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 |
|---|
| 376 | 377 | # properly with old browsers). |
|---|
| 377 | 378 | # Change : Effective immediatly |
|---|
| … | … | |
| 386 | 387 | # for both command line user and default web server user (nobody for Unix, |
|---|
| 387 | 388 | # 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 |
|---|
| 390 | 391 | # 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 |
|---|
| 392 | 393 | # set AllowToUpdateStatsFromBrowser to 1, you can change this parameter to 1. |
|---|
| 393 | 394 | # Change : Effective for new updates only |
|---|
| … | … | |
| 403 | 404 | # With 0, no purge is made, so you must use a scheduled task or a web server |
|---|
| 404 | 405 | # 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. |
|---|
| 406 | 407 | # This parameter doesn't work with IIS (This web server doesn't let its log |
|---|
| 407 | 408 | # file to be purged). |
|---|
| … | … | |
| 428 | 429 | |
|---|
| 429 | 430 | |
|---|
| 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' |
|---|
| 431 | 432 | # for the month (awstatsMMYYYY[.*].txt) with the updated one. |
|---|
| 432 | 433 | # When write errors occurs (IO, disk full,...), this historic file can be |
|---|
| … | … | |
| 451 | 452 | |
|---|
| 452 | 453 | # 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. |
|---|
| 455 | 456 | # If DNS lookup is already done in your log file, you must enter here hostname |
|---|
| 456 | 457 | # criteria, else enter ip address criteria. |
|---|
| … | … | |
| 494 | 495 | # Default: "" |
|---|
| 495 | 496 | # |
|---|
| 496 | | SkipFiles="" |
|---|
| | 497 | SkipFiles="/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 | # |
|---|
| | 512 | SkipReferrersBlackList="" |
|---|
| 497 | 513 | |
|---|
| 498 | 514 | |
|---|
| 499 | 515 | # Include in stats, only accesses from hosts that match one of following |
|---|
| 500 | 516 | # 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 |
|---|
| 502 | 518 | # this parameter. |
|---|
| 503 | 519 | # If DNS lookup is already done in your log file, you must enter here hostname |
|---|
| … | … | |
| 544 | 560 | # Add here a list of kind of url (file extension) that must be counted as |
|---|
| 545 | 561 | # "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 |
|---|
| 547 | 563 | # are not viewed pages. URLs with such extensions are not included in the TOP |
|---|
| 548 | 564 | # Pages/URL report. |
|---|
| … | … | |
| 563 | 579 | # default in this list as they are not pages seen by a visitor but are |
|---|
| 564 | 580 | # 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 |
|---|
| 566 | 582 | # add such codes, you will have 2 pages viewed reported for only one in facts. |
|---|
| 567 | 583 | # Change : Effective for new updates only |
|---|
| … | … | |
| 582 | 598 | |
|---|
| 583 | 599 | |
|---|
| 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 |
|---|
| 585 | 601 | # 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 | # |
|---|
| 591 | 607 | AuthenticatedUsersNotCaseSensitive=0 |
|---|
| 592 | 608 | |
|---|
| … | … | |
| 598 | 614 | # Possible values: 0 or 1 |
|---|
| 599 | 615 | # Default: 0 |
|---|
| 600 | | # |
|---|
| | 616 | # |
|---|
| 601 | 617 | URLNotCaseSensitive=0 |
|---|
| 602 | 618 | |
|---|
| … | … | |
| 612 | 628 | # In URL links, "?" char is used to add parameter's list in URLs. Syntax is: |
|---|
| 613 | 629 | # /mypage.html?param1=value1¶m2=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 |
|---|
| 615 | 631 | # their URLs. You can complete this list with all such characters. |
|---|
| 616 | 632 | # Change : Effective for new updates only |
|---|
| … | … | |
| 628 | 644 | # increased if you have a lot of changing URLs (for example URLs with a random |
|---|
| 629 | 645 | # 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 |
|---|
| 631 | 647 | # URLWithQueryWithoutFollowingParameters). |
|---|
| 632 | 648 | # Change : Effective for new updates only |
|---|
| … | … | |
| 635 | 651 | # 1 - Full URL with query string is used (ie: "/mypage.html?p=x&q=y") |
|---|
| 636 | 652 | # Default: 0 |
|---|
| 637 | | # |
|---|
| | 653 | # |
|---|
| 638 | 654 | URLWithQuery=0 |
|---|
| 639 | 655 | |
|---|
| … | … | |
| 653 | 669 | # Example: "param" |
|---|
| 654 | 670 | # Default: "" |
|---|
| 655 | | # |
|---|
| | 671 | # |
|---|
| 656 | 672 | URLWithQueryWithOnlyFollowingParameters="" |
|---|
| 657 | 673 | |
|---|
| … | … | |
| 671 | 687 | # Example: "PHPSESSID jsessionid" |
|---|
| 672 | 688 | # Default: "" |
|---|
| 673 | | # |
|---|
| | 689 | # |
|---|
| 674 | 690 | URLWithQueryWithoutFollowingParameters="" |
|---|
| 675 | 691 | |
|---|
| … | … | |
| 684 | 700 | # 1 - Full URL with query string is used (ie: "/mypage.html?p=x&q=y") |
|---|
| 685 | 701 | # Default: 0 |
|---|
| 686 | | # |
|---|
| | 702 | # |
|---|
| 687 | 703 | URLReferrerWithQuery=0 |
|---|
| 688 | 704 | |
|---|
| … | … | |
| 697 | 713 | |
|---|
| 698 | 714 | |
|---|
| 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 |
|---|
| 700 | 716 | # want (in most cases for security reasons) to have no error messages, you |
|---|
| 701 | 717 | # can set this parameter to your personalized generic message. |
|---|
| 702 | 718 | # Change : Effective immediatly |
|---|
| 703 | | # Example: "An error occured. Contact your Administrator" |
|---|
| | 719 | # Example: "An error occurred. Contact your Administrator" |
|---|
| 704 | 720 | # Default: "" |
|---|
| 705 | 721 | # |
|---|
| … | … | |
| 717 | 733 | |
|---|
| 718 | 734 | |
|---|
| 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 |
|---|
| 720 | 736 | # if all the first NbOfLinesForCorruptedLog lines have a format that does not |
|---|
| 721 | 737 | # match the LogFormat parameter. |
|---|
| … | … | |
| 741 | 757 | |
|---|
| 742 | 758 | # 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 |
|---|
| 744 | 760 | # and browsers detection fail in some cases. Just change it to 1 if and only |
|---|
| 745 | 761 | # if your web server is Roxen. |
|---|
| … | … | |
| 751 | 767 | |
|---|
| 752 | 768 | |
|---|
| 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 |
|---|
| 754 | 770 | # things, that can not be tracked on other way, like: |
|---|
| 755 | 771 | # - Javascript disabled |
|---|
| … | … | |
| 763 | 779 | # - Mediaplayer plugin |
|---|
| 764 | 780 | # - 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 |
|---|
| 766 | 782 | # into a /js/ directory stored in your web document root and add the following |
|---|
| 767 | 783 | # HTML code at the end of your index page (but before </BODY>) : |
|---|
| … | … | |
| 787 | 803 | #----------------------------------------------------------------------------- |
|---|
| 788 | 804 | |
|---|
| 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. |
|---|
| 791 | 807 | # It might be a good idea for large web sites or ISP that provides AWStats to |
|---|
| 792 | 808 | # high number of customers, to set this parameter to 1 (or 0), instead of 2. |
|---|
| 793 | 809 | # Possible values: |
|---|
| 794 | | # 0 = No detection, |
|---|
| 795 | | # 1 = Medium/Standard detection |
|---|
| 796 | | # 2 = Full detection |
|---|
| 797 | &nbs |
|---|
|