##
## apache.base -- Apache Base/Default Configuration
## ______________________________________________________
##
## PLEASE DO NOT EDIT THIS FILE!! ADJUST CONFIGURATION BY
## OVERRIDING DIRECTIVES IN "apache.conf" INSTEAD, PLEASE!
## ______________________________________________________
##
# global server
ServerType standalone
ServerRoot @l_prefix@
ServerAdmin root@@l_hostname@.@l_domainname@
ServerName @l_hostname@.@l_domainname@
ServerTokens Prod
User @l_npusr@
Group @l_npgrp@
Port 80
# runtime files
PidFile @l_prefix@/var/apache/run/apache.pid
ScoreBoardFile @l_prefix@/var/apache/run/apache.sb
# server behaviour
Timeout 300
KeepAlive on
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 0
HostnameLookups off
UseCanonicalName on
# access logging
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog @l_prefix@/var/apache/log/access.log common
# error logging
LogLevel warn
ErrorLog @l_prefix@/var/apache/log/error.log
ServerSignature on
# secure root directory
Options FollowSymLinks
AllowOverride None
# configure global document root
DocumentRoot @l_prefix@/share/apache/htdocs
Alias /apache-htdocs @l_prefix@/share/apache/htdocs
Options Indexes FollowSymLinks MultiViews
AllowOverride none
Order allow,deny
Allow from all
# default directories and files
UserDir public_html
DirectoryIndex index.html
# local configuration files
AccessFileName .htaccess
Order allow,deny
Deny from all
Satisfy All
# global Icons and CGI directory
Alias /apache-icons @l_prefix@/share/apache/icons
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
ScriptAlias /openpkg-cgi "@l_prefix@/cgi"
AllowOverride None
Options None
Order allow,deny
Allow from all
# automatic CGI recognition by extension
AddHandler cgi-script .cgi
# automatic directory indexing
IndexOptions FancyIndexing
ReadmeName README
HeaderName HEADER
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
DefaultIcon /apache-icons/unknown.gif
AddIcon /apache-icons/back.gif ..
AddIcon /apache-icons/folder.gif ^^DIRECTORY^^
AddIcon /apache-icons/blank.gif ^^BLANKICON^^
AddIcon /apache-icons/hand.right.gif README
AddIcon /apache-icons/binary.gif .bin .exe
AddIcon /apache-icons/binhex.gif .hqx
AddIcon /apache-icons/tar.gif .tar
AddIcon /apache-icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /apache-icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /apache-icons/a.gif .ps .ai .eps
AddIcon /apache-icons/layout.gif .html .shtml .htm .pdf
AddIcon /apache-icons/text.gif .txt
AddIcon /apache-icons/c.gif .c
AddIcon /apache-icons/p.gif .pl .py
AddIcon /apache-icons/f.gif .for
AddIcon /apache-icons/dvi.gif .dvi
AddIcon /apache-icons/uuencoded.gif .uu
AddIcon /apache-icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /apache-icons/tex.gif .tex
AddIcon /apache-icons/bomb.gif core
AddIconByEncoding (CMP,/apache-icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/apache-icons/text.gif) text/*
AddIconByType (IMG,/apache-icons/image2.gif) image/*
AddIconByType (SND,/apache-icons/sound2.gif) audio/*
AddIconByType (VID,/apache-icons/movie.gif) video/*
# MIME types and content negotiation
DefaultType text/plain
TypesConfig @l_prefix@/etc/apache/mime.types
AddType application/x-tar .tgz
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .ee
AddLanguage fr .fr
AddLanguage de .de
AddLanguage el .el
AddLanguage he .he
AddCharset ISO-8859-8 .iso8859-8
AddLanguage it .it
AddLanguage ja .ja
AddCharset ISO-2022-JP .jis
AddLanguage kr .kr
AddCharset ISO-2022-KR .iso-kr
AddLanguage no .no
AddLanguage pl .po
AddCharset ISO-8859-2 .iso-pl
AddLanguage pt .pt
AddLanguage pt-br .pt-br
AddLanguage ltz .lu
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .se
AddLanguage cz .cz
AddLanguage ru .ru
AddLanguage tw .tw
AddCharset Big5 .Big5 .big5
AddCharset WINDOWS-1251 .cp-1251
AddCharset CP866 .cp866
AddCharset ISO-8859-5 .iso-ru
AddCharset KOI8-R .koi8-r
AddCharset UCS-2 .ucs2
AddCharset UCS-4 .ucs4
AddCharset UTF-8 .utf8
LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
MIMEMagicFile @l_prefix@/etc/apache/mime.magic
# browser specifics
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
# IVW access logging
ZModSubPath /cgi-bin/ivw
ZModFormat ZMODS
ZModLog @l_prefix@/var/apache/log/zmod.log
#ZModFileBase @l_prefix@/share/apache/htdocs/ivw/pics
# SSL/TLS support
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLMutex sem
SSLSessionCache shmcb:@l_prefix@/var/apache/run/ssl_scache(512000)
SSLSessionCacheTimeout 300
SSLLog @l_prefix@/var/apache/log/ssl.log
SSLLogLevel warn
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
SSLOptions +StdEnvVars
SSLOptions +StdEnvVars
# PHP4 support
AddType application/x-httpd-php .php