################################################################################ # # Apache main configuration file. # # The main configuration holds the standard configuration options, common to # (almost) all sites. It is read after either the common configuration file # or the local configuration file. Changes to options configured herein should # go to a local access.conf - editing of this file is discouraged. If this # results in difficulties, please contact apache@rz.uni-karlsruhe.de. MaxClients 100 MaxRequestsPerChild 30 Listen 80 Listen 443 # Do not never ever override this with 'wwwadm'! Biggest security hole ever... User www Group www DocumentRoot /usr/local/etc/httpd/htdocs # # Order Deny,Allow # Deny from All # # # Options Indexes FollowSymLinks # AllowOverride None # Order Allow,Deny # Allow from all # UserDir .public_html DirectoryIndex index.html index.shtml index.cgi index.php3 Order Allow,Deny Deny from All DefaultType text/plain #HostnameLookups off LogLevel info LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\"" TransferLog logs/access_log ScriptLog logs/script_log ServerSignature EMail Alias /icons/ /usr/local/etc/httpd/icons/ Options Indexes MultiViews AllowOverride None Order Allow,Deny Allow from All ScriptAlias /cgi-bin/ /usr/local/etc/httpd/cgi-bin/ Options FollowSymlinks AllowOverride None Order Allow,Deny Allow from All IndexOptions FancyIndexing AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ DefaultIcon /icons/unknown.gif HeaderName HEADER ReadmeName README IndexIgnore */.??* *~ *# */HEADER */README */RCS */CVS *,v *,t AddEncoding x-compress Z AddEncoding x-gzip gz AddEncoding x-gzip tgz AddLanguage en .en AddLanguage de .de LanguagePriority en de AddType text/html shtml AddType video/fli .fli AddType application/x-tar .tgz AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps AddType application/x-x509-ca-cert .crt AddType application/x-pkcs7-crl .crl AddType text/vnd.wap.wml .wml AddType image/vnd.wap.wbmp .wbmp AddType application/vnd.wap.wmlc .wmlc AddType text/vnd.wap.wmlscript .wmls AddType application/vnd.wap.wmlscriptc .wmlsc AddHandler server-parsed shtml AddHandler cgi-script cgi AddHandler send-as-is asis AddHandler imap-file map AddHandler type-map var MetaDir .web MetaSuffix .meta 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 SetHandler server-status SetHandler server-info Order Allow,Deny Deny from All ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi SSLPassPhraseDialog builtin SSLSessionCache dbm:/usr/local/etc/httpd/logs/ssl_scache SSLSessionCacheTimeout 300 SSLMutex file:/usr/local/etc/httpd/logs/ssl_mutex SSLRandomSeed startup builtin SSLRandomSeed startup file:/etc/ssh_random_seed SSLRandomSeed connect builtin SSLLogLevel info SSLLog logs/ssl_engine_log # Ensure that the main server is the primary virtual host Include /usr/common/machine/etc/httpd/conf/rewrite.conf SSLEngine on SSLCertificateFile conf/server.crt SSLCertificateKeyFile conf/server.key SSLCertificateFile /etc/ssl/host.crt SSLCertificateKeyFile /etc/ssl/host.key SSLCACertificatePath /usr/common/machine/etc/X.509/ SSLCARevocationPath /usr/common/machine/etc/X.509/ SSLOptions +StdEnvVars SSLOptions +StdEnvVars SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown SSLLogLevel warn SSLLog logs/ssl_log CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" Include /usr/common/machine/etc/httpd/conf/rewrite.conf ProxyRequests Off NoCache *