1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/apache/apache.base Mon Sep 17 19:01:16 2012 +0200 1.3 @@ -0,0 +1,347 @@ 1.4 +## 1.5 +## apache.base -- Apache Base/Default Configuration 1.6 +## ______________________________________________________ 1.7 +## 1.8 +## PLEASE DO NOT EDIT THIS FILE!! ADJUST CONFIGURATION BY 1.9 +## OVERRIDING DIRECTIVES IN "apache.conf" INSTEAD, PLEASE! 1.10 +## ______________________________________________________ 1.11 +## 1.12 + 1.13 +# global server 1.14 +ServerRoot @l_prefix@ 1.15 +ServerAdmin root@@l_hostname@.@l_domainname@ 1.16 +ServerName @l_hostname@.@l_domainname@ 1.17 +ServerTokens os 1.18 +User @l_nusr@ 1.19 +Group @l_ngrp@ 1.20 + 1.21 +# runtime files 1.22 +LockFile @l_prefix@/var/apache/run/apache.lock 1.23 +<IfModule mpm_prefork_module> 1.24 + PidFile @l_prefix@/var/apache/run/apache.pid 1.25 + ScoreBoardFile @l_prefix@/var/apache/run/apache.sb 1.26 +</IfModule> 1.27 +<IfModule cgid_module> 1.28 + ScriptSock @l_prefix@/var/apache/run/apache.cgisock 1.29 +</IfModule> 1.30 + 1.31 +# server behaviour 1.32 +Timeout 300 1.33 +KeepAlive on 1.34 +MaxKeepAliveRequests 100 1.35 +KeepAliveTimeout 15 1.36 +<IfModule mpm_prefork_module> 1.37 + MinSpareServers 5 1.38 + MaxSpareServers 10 1.39 + StartServers 5 1.40 + MaxClients 150 1.41 + MaxRequestsPerChild 0 1.42 +</IfModule> 1.43 +<IfModule mpm_worker_module> 1.44 + MinSpareThreads 25 1.45 + MaxSpareThreads 75 1.46 + ThreadsPerChild 25 1.47 + StartServers 2 1.48 + ServerLimit 16 1.49 + MaxClients 150 1.50 + MaxRequestsPerChild 0 1.51 +</IfModule> 1.52 +HostnameLookups off 1.53 +UseCanonicalName on 1.54 + 1.55 +# access logging 1.56 +<IfModule log_config_module> 1.57 + LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 1.58 + <IfModule logio_module> 1.59 + LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combined_io 1.60 + </IfModule> 1.61 + <IfModule ssl_module> 1.62 + LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %{SSL_PROTOCOL}x %{SSL_CIPHER}x" combined_ssl 1.63 + </IfModule> 1.64 + LogFormat "%h %l %u %t \"%r\" %>s %b" common 1.65 + LogFormat "%{Referer}i -> %U" referer 1.66 + LogFormat "%{User-agent}i" agent 1.67 + CustomLog @l_prefix@/var/apache/log/access.log common env=!ignore_global_access 1.68 +</IfModule> 1.69 + 1.70 +# error logging 1.71 +LogLevel warn 1.72 +ErrorLog @l_prefix@/var/apache/log/error.log 1.73 +ServerSignature on 1.74 + 1.75 +# script logging 1.76 +<IfModule cgi_module> 1.77 + ScriptLog @l_prefix@/var/apache/log/script.log 1.78 + ScriptLogBuffer 1024 1.79 + ScriptLogLength 10485760 1.80 +</IfModule> 1.81 + 1.82 +# secure root directory 1.83 +<Directory /> 1.84 + Options FollowSymLinks 1.85 + AllowOverride None 1.86 + Order deny,allow 1.87 + Deny from all 1.88 +</Directory> 1.89 + 1.90 +# configure global document root 1.91 +DocumentRoot @l_prefix@/share/apache/htdocs 1.92 +<IfModule alias_module> 1.93 + Alias /apache-htdocs @l_prefix@/share/apache/htdocs 1.94 +</IfModule> 1.95 +<Directory "@l_prefix@/share/apache/htdocs"> 1.96 + Options Indexes FollowSymLinks MultiViews 1.97 + AllowOverride none 1.98 + Order allow,deny 1.99 + Allow from all 1.100 +</Directory> 1.101 + 1.102 +# default directories and files 1.103 +<IfModule userdir_module> 1.104 + UserDir public_html 1.105 + UserDir disabled root 1.106 +</IfModule> 1.107 +<IfModule dir_module> 1.108 + DirectoryIndex index.html 1.109 +</IfModule> 1.110 + 1.111 +# local configuration files 1.112 +AccessFileName .htaccess 1.113 +<Files ~ "^\.ht"> 1.114 + Order allow,deny 1.115 + Deny from all 1.116 + Satisfy All 1.117 +</Files> 1.118 + 1.119 +# global Icons and CGI directory 1.120 +<IfModule alias_module> 1.121 + Alias /apache-icons @l_prefix@/share/apache/icons 1.122 + <Directory "@l_prefix@/share/apache/icons"> 1.123 + Options Indexes MultiViews 1.124 + AllowOverride None 1.125 + Order allow,deny 1.126 + Allow from all 1.127 + </Directory> 1.128 + AliasMatch ^/apache-manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ @l_prefix@/share/apache/manual$1 1.129 + <Directory "@l_prefix@/share/apache/manual"> 1.130 + Options Indexes 1.131 + AllowOverride None 1.132 + Order allow,deny 1.133 + Allow from all 1.134 + <Files *.html> 1.135 + SetHandler type-map 1.136 + </Files> 1.137 + SetEnvIf Request_URI ^/apache-manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1 1.138 + RedirectMatch 301 ^/apache-manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /apache-manual/$1$2 1.139 + LanguagePriority en de es fr ja ko pt-br ru 1.140 + ForceLanguagePriority Prefer Fallback 1.141 + </Directory> 1.142 + Alias /apache-error @l_prefix@/share/apache/error 1.143 + <Directory "@l_prefix@/share/apache/error"> 1.144 + Options IncludesNoExec 1.145 + AllowOverride None 1.146 + Order allow,deny 1.147 + Allow from all 1.148 + AddOutputFilter Includes html 1.149 + AddHandler type-map var 1.150 + LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr 1.151 + ForceLanguagePriority Prefer Fallback 1.152 + </Directory> 1.153 + ScriptAlias /openpkg-cgi "@l_prefix@/cgi" 1.154 + <Directory "@l_prefix@/cgi"> 1.155 + AllowOverride None 1.156 + Options None 1.157 + Order allow,deny 1.158 + Allow from all 1.159 + </Directory> 1.160 +</IfModule> 1.161 + 1.162 +# global server status information 1.163 +<IfModule status_module> 1.164 + ExtendedStatus on 1.165 + <Location /apache-server-status> 1.166 + SetHandler server-status 1.167 + Order deny,allow 1.168 + Deny from all 1.169 + Allow from 127.0.0.1 1.170 + </Location> 1.171 + <Location /apache-server-info> 1.172 + SetHandler server-info 1.173 + Order deny,allow 1.174 + Deny from all 1.175 + Allow from 127.0.0.1 1.176 + </Location> 1.177 +</IfModule> 1.178 + 1.179 +# automatic CGI and SSI recognition 1.180 +<IfModule mime_module> 1.181 + <IfModule cgi_module> 1.182 + AddHandler cgi-script .cgi 1.183 + </IfModule> 1.184 + <IfModule include_module> 1.185 + AddType text/html .shtml 1.186 + AddOutputFilter INCLUDES .shtml 1.187 + </IfModule> 1.188 +</IfModule> 1.189 + 1.190 +# multi-language error documents 1.191 +ErrorDocument 400 /apache-error/HTTP_BAD_REQUEST.html.var 1.192 +ErrorDocument 401 /apache-error/HTTP_UNAUTHORIZED.html.var 1.193 +ErrorDocument 403 /apache-error/HTTP_FORBIDDEN.html.var 1.194 +ErrorDocument 404 /apache-error/HTTP_NOT_FOUND.html.var 1.195 +ErrorDocument 405 /apache-error/HTTP_METHOD_NOT_ALLOWED.html.var 1.196 +ErrorDocument 408 /apache-error/HTTP_REQUEST_TIME_OUT.html.var 1.197 +ErrorDocument 410 /apache-error/HTTP_GONE.html.var 1.198 +ErrorDocument 411 /apache-error/HTTP_LENGTH_REQUIRED.html.var 1.199 +ErrorDocument 412 /apache-error/HTTP_PRECONDITION_FAILED.html.var 1.200 +ErrorDocument 413 /apache-error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var 1.201 +ErrorDocument 414 /apache-error/HTTP_REQUEST_URI_TOO_LARGE.html.var 1.202 +ErrorDocument 415 /apache-error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var 1.203 +ErrorDocument 500 /apache-error/HTTP_INTERNAL_SERVER_ERROR.html.var 1.204 +ErrorDocument 501 /apache-error/HTTP_NOT_IMPLEMENTED.html.var 1.205 +ErrorDocument 502 /apache-error/HTTP_BAD_GATEWAY.html.var 1.206 +ErrorDocument 503 /apache-error/HTTP_SERVICE_UNAVAILABLE.html.var 1.207 +ErrorDocument 506 /apache-error/HTTP_VARIANT_ALSO_VARIES.html.var 1.208 + 1.209 +# automatic directory indexing 1.210 +<IfModule autoindex_module> 1.211 + IndexOptions FancyIndexing HTMLTable VersionSort 1.212 + ReadmeName README 1.213 + HeaderName HEADER 1.214 + IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t 1.215 + DefaultIcon /apache-icons/unknown.gif 1.216 + AddIcon /apache-icons/back.gif .. 1.217 + AddIcon /apache-icons/dir.gif ^^DIRECTORY^^ 1.218 + AddIcon /apache-icons/blank.gif ^^BLANKICON^^ 1.219 + AddIcon /apache-icons/binary.gif .bin .exe 1.220 + AddIcon /apache-icons/binhex.gif .hqx 1.221 + AddIcon /apache-icons/tar.gif .tar 1.222 + AddIcon /apache-icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv 1.223 + AddIcon /apache-icons/compressed.gif .Z .z .tgz .gz .zip 1.224 + AddIcon /apache-icons/a.gif .ps .ai .eps 1.225 + AddIcon /apache-icons/layout.gif .html .shtml .htm .pdf 1.226 + AddIcon /apache-icons/text.gif .txt 1.227 + AddIcon /apache-icons/c.gif .c 1.228 + AddIcon /apache-icons/p.gif .pl .py 1.229 + AddIcon /apache-icons/f.gif .for 1.230 + AddIcon /apache-icons/dvi.gif .dvi 1.231 + AddIcon /apache-icons/uuencoded.gif .uu 1.232 + AddIcon /apache-icons/script.gif .conf .sh .shar .csh .ksh .tcl 1.233 + AddIcon /apache-icons/tex.gif .tex 1.234 + AddIcon /apache-icons/bomb.gif core 1.235 + AddIconByEncoding (CMP,/apache-icons/compressed.gif) x-compress x-gzip 1.236 + AddIconByType (TXT,/apache-icons/text.gif) text/* 1.237 + AddIconByType (IMG,/apache-icons/image2.gif) image/* 1.238 + AddIconByType (SND,/apache-icons/sound2.gif) audio/* 1.239 + AddIconByType (VID,/apache-icons/movie.gif) video/* 1.240 +</IfModule> 1.241 + 1.242 +# MIME types and content negotiation 1.243 +DefaultType text/plain 1.244 +<IfModule mime_module> 1.245 + TypesConfig @l_prefix@/etc/apache/mime.types 1.246 + AddType application/x-compress .Z 1.247 + AddType application/x-gzip .gz .tgz 1.248 + AddType application/x-tar .tar 1.249 + AddEncoding x-compress Z 1.250 + AddEncoding x-gzip gz tgz 1.251 + AddLanguage da .dk 1.252 + AddLanguage nl .nl 1.253 + AddLanguage en .en 1.254 + AddLanguage et .ee 1.255 + AddLanguage fr .fr 1.256 + AddLanguage de .de 1.257 + AddLanguage el .el 1.258 + AddLanguage he .he 1.259 + AddCharset ISO-8859-8 .iso8859-8 1.260 + AddLanguage it .it 1.261 + AddLanguage ja .ja 1.262 + AddCharset ISO-2022-JP .jis 1.263 + AddLanguage kr .kr 1.264 + AddCharset ISO-2022-KR .iso-kr 1.265 + AddLanguage no .no 1.266 + AddLanguage pl .po 1.267 + AddCharset ISO-8859-2 .iso-pl 1.268 + AddLanguage pt .pt 1.269 + AddLanguage pt-br .pt-br 1.270 + AddLanguage ltz .lu 1.271 + AddLanguage ca .ca 1.272 + AddLanguage es .es 1.273 + AddLanguage sv .se 1.274 + AddLanguage cz .cz 1.275 + AddLanguage ru .ru 1.276 + AddLanguage tw .tw 1.277 + AddCharset Big5 .Big5 .big5 1.278 + AddCharset WINDOWS-1251 .cp-1251 1.279 + AddCharset CP866 .cp866 1.280 + AddCharset ISO-8859-5 .iso-ru 1.281 + AddCharset KOI8-R .koi8-r 1.282 + AddCharset UCS-2 .ucs2 1.283 + AddCharset UCS-4 .ucs4 1.284 + AddCharset UTF-8 .utf8 1.285 +</IfModule> 1.286 +<IfModule negotiation_module> 1.287 + AddHandler type-map .var 1.288 + LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW 1.289 + ForceLanguagePriority Prefer Fallback 1.290 +</IfModule> 1.291 +<IfModule mime_magic_module> 1.292 + MIMEMagicFile @l_prefix@/etc/apache/mime.magic 1.293 +</IfModule> 1.294 + 1.295 +# SSL/TLS support 1.296 +<IfModule ssl_module> 1.297 + SSLRandomSeed startup builtin 1.298 + SSLRandomSeed connect builtin 1.299 + SSLMutex sem 1.300 + SSLCADNRequestFile @l_prefix@/etc/x509/public-ca.crt.pem 1.301 + SSLCACertificateFile @l_prefix@/etc/x509/public-ca.crt.pem 1.302 + SSLSessionCache shm:@l_prefix@/var/apache/run/apache.ssl_scache(512000) 1.303 + SSLSessionCacheTimeout 300 1.304 + SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL 1.305 + <IfModule setenvif_module> 1.306 + SetEnvIf User-Agent ".*MSIE.*" \ 1.307 + nokeepalive ssl-unclean-shutdown \ 1.308 + downgrade-1.0 force-response-1.0 1.309 + </IfModule> 1.310 + <Files ~ "\.(cgi|shtml|pl|phtml|php?)$"> 1.311 + SSLOptions +StdEnvVars 1.312 + </Files> 1.313 + <Directory "@l_prefix@/cgi"> 1.314 + SSLOptions +StdEnvVars 1.315 + </Directory> 1.316 + AddType application/x-x509-ca-cert .crt 1.317 + AddType application/x-pkcs7-crl .crl 1.318 +</IfModule> 1.319 + 1.320 +# DAV support 1.321 +<IfModule dav_module> 1.322 + DavLockDB @l_prefix@/var/apache/run/apache.dav/lock 1.323 + BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully 1.324 + BrowserMatch "MS FrontPage" redirect-carefully 1.325 + BrowserMatch "^WebDrive" redirect-carefully 1.326 + BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully 1.327 + BrowserMatch "^gnome-vfs/1.0" redirect-carefully 1.328 + BrowserMatch "^XML Spy" redirect-carefully 1.329 + BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully 1.330 +</IfModule> 1.331 + 1.332 +# Cache support 1.333 +<IfModule disk_cache_module> 1.334 + CacheRoot @l_prefix@/var/apache/run/apache.cache 1.335 + CacheMaxFileSize 1000000 1.336 + CacheMinFileSize 1 1.337 + CacheDirLength 2 1.338 + CacheDirLevels 3 1.339 +</IfModule> 1.340 + 1.341 +# Compression support 1.342 +<IfModule deflate_module> 1.343 + DeflateCompressionLevel 1 1.344 + DeflateMemLevel 9 1.345 + DeflateWindowSize 15 1.346 + DeflateBufferSize 8096 1.347 + DeflateFilterNote Ratio deflate_ratio 1.348 + AddOutputFilterByType DEFLATE text/plain text/html text/xml application/javascript application/json text/css 1.349 +</IfModule> 1.350 +