michael@684: ## michael@684: ## apache.base -- Apache Base/Default Configuration michael@684: ## ______________________________________________________ michael@684: ## michael@684: ## PLEASE DO NOT EDIT THIS FILE!! ADJUST CONFIGURATION BY michael@684: ## OVERRIDING DIRECTIVES IN "apache.conf" INSTEAD, PLEASE! michael@684: ## ______________________________________________________ michael@684: ## michael@684: michael@684: # global server michael@684: ServerRoot @l_prefix@ michael@684: ServerAdmin root@@l_hostname@.@l_domainname@ michael@684: ServerName @l_hostname@.@l_domainname@ michael@684: ServerTokens os michael@684: User @l_nusr@ michael@684: Group @l_ngrp@ michael@684: michael@684: # runtime files michael@684: LockFile @l_prefix@/var/apache/run/apache.lock michael@684: michael@684: PidFile @l_prefix@/var/apache/run/apache.pid michael@684: ScoreBoardFile @l_prefix@/var/apache/run/apache.sb michael@684: michael@684: michael@684: ScriptSock @l_prefix@/var/apache/run/apache.cgisock michael@684: michael@684: michael@684: # server behaviour michael@684: Timeout 300 michael@684: KeepAlive on michael@684: MaxKeepAliveRequests 100 michael@684: KeepAliveTimeout 15 michael@684: michael@684: MinSpareServers 5 michael@684: MaxSpareServers 10 michael@684: StartServers 5 michael@684: MaxClients 150 michael@684: MaxRequestsPerChild 0 michael@684: michael@684: michael@684: MinSpareThreads 25 michael@684: MaxSpareThreads 75 michael@684: ThreadsPerChild 25 michael@684: StartServers 2 michael@684: ServerLimit 16 michael@684: MaxClients 150 michael@684: MaxRequestsPerChild 0 michael@684: michael@684: HostnameLookups off michael@684: UseCanonicalName on michael@684: michael@684: # access logging michael@684: michael@684: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined michael@684: michael@684: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combined_io michael@684: michael@684: michael@684: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %{SSL_PROTOCOL}x %{SSL_CIPHER}x" combined_ssl michael@684: michael@684: LogFormat "%h %l %u %t \"%r\" %>s %b" common michael@684: LogFormat "%{Referer}i -> %U" referer michael@684: LogFormat "%{User-agent}i" agent michael@684: CustomLog @l_prefix@/var/apache/log/access.log common env=!ignore_global_access michael@684: michael@684: michael@684: # error logging michael@684: LogLevel warn michael@684: ErrorLog @l_prefix@/var/apache/log/error.log michael@684: ServerSignature on michael@684: michael@684: # script logging michael@684: michael@684: ScriptLog @l_prefix@/var/apache/log/script.log michael@684: ScriptLogBuffer 1024 michael@684: ScriptLogLength 10485760 michael@684: michael@684: michael@684: # secure root directory michael@684: michael@684: Options FollowSymLinks michael@684: AllowOverride None michael@684: Order deny,allow michael@684: Deny from all michael@684: michael@684: michael@684: # configure global document root michael@684: DocumentRoot @l_prefix@/share/apache/htdocs michael@684: michael@684: Alias /apache-htdocs @l_prefix@/share/apache/htdocs michael@684: michael@684: michael@684: Options Indexes FollowSymLinks MultiViews michael@684: AllowOverride none michael@684: Order allow,deny michael@684: Allow from all michael@684: michael@684: michael@684: # default directories and files michael@684: michael@684: UserDir public_html michael@684: UserDir disabled root michael@684: michael@684: michael@684: DirectoryIndex index.html michael@684: michael@684: michael@684: # local configuration files michael@684: AccessFileName .htaccess michael@684: michael@684: Order allow,deny michael@684: Deny from all michael@684: Satisfy All michael@684: michael@684: michael@684: # global Icons and CGI directory michael@684: michael@684: Alias /apache-icons @l_prefix@/share/apache/icons michael@684: michael@684: Options Indexes MultiViews michael@684: AllowOverride None michael@684: Order allow,deny michael@684: Allow from all michael@684: michael@684: AliasMatch ^/apache-manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ @l_prefix@/share/apache/manual$1 michael@684: michael@684: Options Indexes michael@684: AllowOverride None michael@684: Order allow,deny michael@684: Allow from all michael@684: michael@684: SetHandler type-map michael@684: michael@684: SetEnvIf Request_URI ^/apache-manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1 michael@684: RedirectMatch 301 ^/apache-manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /apache-manual/$1$2 michael@684: LanguagePriority en de es fr ja ko pt-br ru michael@684: ForceLanguagePriority Prefer Fallback michael@684: michael@684: Alias /apache-error @l_prefix@/share/apache/error michael@684: michael@684: Options IncludesNoExec michael@684: AllowOverride None michael@684: Order allow,deny michael@684: Allow from all michael@684: AddOutputFilter Includes html michael@684: AddHandler type-map var michael@684: LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr michael@684: ForceLanguagePriority Prefer Fallback michael@684: michael@684: ScriptAlias /openpkg-cgi "@l_prefix@/cgi" michael@684: michael@684: AllowOverride None michael@684: Options None michael@684: Order allow,deny michael@684: Allow from all michael@684: michael@684: michael@684: michael@684: # global server status information michael@684: michael@684: ExtendedStatus on michael@684: michael@684: SetHandler server-status michael@684: Order deny,allow michael@684: Deny from all michael@684: Allow from 127.0.0.1 michael@684: michael@684: michael@684: SetHandler server-info michael@684: Order deny,allow michael@684: Deny from all michael@684: Allow from 127.0.0.1 michael@684: michael@684: michael@684: michael@684: # automatic CGI and SSI recognition michael@684: michael@684: michael@684: AddHandler cgi-script .cgi michael@684: michael@684: michael@684: AddType text/html .shtml michael@684: AddOutputFilter INCLUDES .shtml michael@684: michael@684: michael@684: michael@684: # multi-language error documents michael@684: ErrorDocument 400 /apache-error/HTTP_BAD_REQUEST.html.var michael@684: ErrorDocument 401 /apache-error/HTTP_UNAUTHORIZED.html.var michael@684: ErrorDocument 403 /apache-error/HTTP_FORBIDDEN.html.var michael@684: ErrorDocument 404 /apache-error/HTTP_NOT_FOUND.html.var michael@684: ErrorDocument 405 /apache-error/HTTP_METHOD_NOT_ALLOWED.html.var michael@684: ErrorDocument 408 /apache-error/HTTP_REQUEST_TIME_OUT.html.var michael@684: ErrorDocument 410 /apache-error/HTTP_GONE.html.var michael@684: ErrorDocument 411 /apache-error/HTTP_LENGTH_REQUIRED.html.var michael@684: ErrorDocument 412 /apache-error/HTTP_PRECONDITION_FAILED.html.var michael@684: ErrorDocument 413 /apache-error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var michael@684: ErrorDocument 414 /apache-error/HTTP_REQUEST_URI_TOO_LARGE.html.var michael@684: ErrorDocument 415 /apache-error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var michael@684: ErrorDocument 500 /apache-error/HTTP_INTERNAL_SERVER_ERROR.html.var michael@684: ErrorDocument 501 /apache-error/HTTP_NOT_IMPLEMENTED.html.var michael@684: ErrorDocument 502 /apache-error/HTTP_BAD_GATEWAY.html.var michael@684: ErrorDocument 503 /apache-error/HTTP_SERVICE_UNAVAILABLE.html.var michael@684: ErrorDocument 506 /apache-error/HTTP_VARIANT_ALSO_VARIES.html.var michael@684: michael@684: # automatic directory indexing michael@684: michael@684: IndexOptions FancyIndexing HTMLTable VersionSort michael@684: ReadmeName README michael@684: HeaderName HEADER michael@684: IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t michael@684: DefaultIcon /apache-icons/unknown.gif michael@684: AddIcon /apache-icons/back.gif .. michael@684: AddIcon /apache-icons/dir.gif ^^DIRECTORY^^ michael@684: AddIcon /apache-icons/blank.gif ^^BLANKICON^^ michael@684: AddIcon /apache-icons/binary.gif .bin .exe michael@684: AddIcon /apache-icons/binhex.gif .hqx michael@684: AddIcon /apache-icons/tar.gif .tar michael@684: AddIcon /apache-icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv michael@684: AddIcon /apache-icons/compressed.gif .Z .z .tgz .gz .zip michael@684: AddIcon /apache-icons/a.gif .ps .ai .eps michael@684: AddIcon /apache-icons/layout.gif .html .shtml .htm .pdf michael@684: AddIcon /apache-icons/text.gif .txt michael@684: AddIcon /apache-icons/c.gif .c michael@684: AddIcon /apache-icons/p.gif .pl .py michael@684: AddIcon /apache-icons/f.gif .for michael@684: AddIcon /apache-icons/dvi.gif .dvi michael@684: AddIcon /apache-icons/uuencoded.gif .uu michael@684: AddIcon /apache-icons/script.gif .conf .sh .shar .csh .ksh .tcl michael@684: AddIcon /apache-icons/tex.gif .tex michael@684: AddIcon /apache-icons/bomb.gif core michael@684: AddIconByEncoding (CMP,/apache-icons/compressed.gif) x-compress x-gzip michael@684: AddIconByType (TXT,/apache-icons/text.gif) text/* michael@684: AddIconByType (IMG,/apache-icons/image2.gif) image/* michael@684: AddIconByType (SND,/apache-icons/sound2.gif) audio/* michael@684: AddIconByType (VID,/apache-icons/movie.gif) video/* michael@684: michael@684: michael@684: # MIME types and content negotiation michael@684: DefaultType text/plain michael@684: michael@684: TypesConfig @l_prefix@/etc/apache/mime.types michael@684: AddType application/x-compress .Z michael@684: AddType application/x-gzip .gz .tgz michael@684: AddType application/x-tar .tar michael@684: AddEncoding x-compress Z michael@684: AddEncoding x-gzip gz tgz michael@684: AddLanguage da .dk michael@684: AddLanguage nl .nl michael@684: AddLanguage en .en michael@684: AddLanguage et .ee michael@684: AddLanguage fr .fr michael@684: AddLanguage de .de michael@684: AddLanguage el .el michael@684: AddLanguage he .he michael@684: AddCharset ISO-8859-8 .iso8859-8 michael@684: AddLanguage it .it michael@684: AddLanguage ja .ja michael@684: AddCharset ISO-2022-JP .jis michael@684: AddLanguage kr .kr michael@684: AddCharset ISO-2022-KR .iso-kr michael@684: AddLanguage no .no michael@684: AddLanguage pl .po michael@684: AddCharset ISO-8859-2 .iso-pl michael@684: AddLanguage pt .pt michael@684: AddLanguage pt-br .pt-br michael@684: AddLanguage ltz .lu michael@684: AddLanguage ca .ca michael@684: AddLanguage es .es michael@684: AddLanguage sv .se michael@684: AddLanguage cz .cz michael@684: AddLanguage ru .ru michael@684: AddLanguage tw .tw michael@684: AddCharset Big5 .Big5 .big5 michael@684: AddCharset WINDOWS-1251 .cp-1251 michael@684: AddCharset CP866 .cp866 michael@684: AddCharset ISO-8859-5 .iso-ru michael@684: AddCharset KOI8-R .koi8-r michael@684: AddCharset UCS-2 .ucs2 michael@684: AddCharset UCS-4 .ucs4 michael@684: AddCharset UTF-8 .utf8 michael@684: michael@684: michael@684: AddHandler type-map .var michael@684: 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 michael@684: ForceLanguagePriority Prefer Fallback michael@684: michael@684: michael@684: MIMEMagicFile @l_prefix@/etc/apache/mime.magic michael@684: michael@684: michael@684: # SSL/TLS support michael@684: michael@684: SSLRandomSeed startup builtin michael@684: SSLRandomSeed connect builtin michael@684: SSLMutex sem michael@684: SSLCADNRequestFile @l_prefix@/etc/x509/public-ca.crt.pem michael@684: SSLCACertificateFile @l_prefix@/etc/x509/public-ca.crt.pem michael@684: SSLSessionCache shm:@l_prefix@/var/apache/run/apache.ssl_scache(512000) michael@684: SSLSessionCacheTimeout 300 michael@684: SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL michael@684: michael@684: SetEnvIf User-Agent ".*MSIE.*" \ michael@684: nokeepalive ssl-unclean-shutdown \ michael@684: downgrade-1.0 force-response-1.0 michael@684: michael@684: michael@684: SSLOptions +StdEnvVars michael@684: michael@684: michael@684: SSLOptions +StdEnvVars michael@684: michael@684: AddType application/x-x509-ca-cert .crt michael@684: AddType application/x-pkcs7-crl .crl michael@684: michael@684: michael@684: # DAV support michael@684: michael@684: DavLockDB @l_prefix@/var/apache/run/apache.dav/lock michael@684: BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully michael@684: BrowserMatch "MS FrontPage" redirect-carefully michael@684: BrowserMatch "^WebDrive" redirect-carefully michael@684: BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully michael@684: BrowserMatch "^gnome-vfs/1.0" redirect-carefully michael@684: BrowserMatch "^XML Spy" redirect-carefully michael@684: BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully michael@684: michael@684: michael@684: # Cache support michael@684: michael@684: CacheRoot @l_prefix@/var/apache/run/apache.cache michael@684: CacheMaxFileSize 1000000 michael@684: CacheMinFileSize 1 michael@684: CacheDirLength 2 michael@684: CacheDirLevels 3 michael@684: michael@684: michael@684: # Compression support michael@684: michael@684: DeflateCompressionLevel 1 michael@684: DeflateMemLevel 9 michael@684: DeflateWindowSize 15 michael@684: DeflateBufferSize 8096 michael@684: DeflateFilterNote Ratio deflate_ratio michael@684: AddOutputFilterByType DEFLATE text/plain text/html text/xml application/javascript application/json text/css michael@684: michael@684: