2 ## httpd.conf -- Apache HTTP server configuration file
4 ## $Id: httpd.conf,v 1.15.2.7 2005/04/16 11:40:15 rkerr Exp $
9 LockFile /var/lock/httpd.lock
10 PidFile /var/run/httpd.pid
11 ScoreBoardFile /var/run/httpd.scoreboard
14 MaxKeepAliveRequests 100
20 MaxRequestsPerChild 100
26 ServerAdmin root@localhost
28 DocumentRoot /home/httpd/html
29 # Limit track/trace requests
31 RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS)
38 <Directory /home/httpd/html>
44 <DirectoryMatch "/home/httpd/html/(graphs|sgraph)">
47 AuthUserFile /var/ipfire/auth/users
50 ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/
51 <Directory /home/httpd/cgi-bin>
54 AuthName "IPFire - Restricted"
56 AuthUserFile /var/ipfire/auth/users
71 Require user admin dial
75 DirectoryIndex index.html index.htm index.shtml index.cgi
77 AccessFileName .htaccess
83 TypesConfig /etc/mime.types
85 DefaultType text/plain
88 ErrorLog /var/log/httpd/error_log
90 LogFormat "%h %l %u %t \"%r\" %>s %b" common
91 CustomLog /var/log/httpd/access_log common
93 AddHandler cgi-script .cgi
94 <IfModule mod_setenvif.c>
95 BrowserMatch "Mozilla/2" nokeepalive
96 BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
97 BrowserMatch "RealPlayer 4\.0" force-response-1.0
98 BrowserMatch "Java/1\.0" force-response-1.0
99 BrowserMatch "JDK/1\.0" force-response-1.0
103 ### SSL Configuration
105 AddType application/x-x509-ca-cert .crt
106 AddType application/x-pkcs7-crl .crl
108 SSLPassPhraseDialog builtin
109 SSLSessionCache dbm:/var/log/httpd/ssl_scache
110 SSLSessionCacheTimeout 900
111 SSLMutex file:/var/log/httpd/ssl_mutex
112 SSLRandomSeed startup builtin
113 SSLRandomSeed connect builtin
114 SSLLog /var/log/httpd/ssl_engine_log
117 <VirtualHost _default_:444>
119 RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS)
121 DocumentRoot /home/httpd/html
122 ServerAdmin root@localhost
123 ErrorLog /var/log/httpd/error_log
124 TransferLog /var/log/httpd/access_log
126 SSLProtocol all -SSLv2
127 SSLCipherSuite ALL:!ADH:!EXPORT56:!eNULL:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW:+EXP
128 SSLCertificateFile /etc/httpd/server.crt
129 SSLCertificateKeyFile /etc/httpd/server.key
130 <Files ~ "\.(cgi|shtml?)$">
131 SSLOptions +StdEnvVars
133 <Directory /home/httpd/cgi-bin>
134 SSLOptions +StdEnvVars
136 SetEnv HOME /home/nobody
137 SetEnvIf User-Agent ".*MSIE.*" \
138 nokeepalive ssl-unclean-shutdown \
139 downgrade-1.0 force-response-1.0
140 CustomLog /var/log/httpd/ssl_request_log \
141 "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
144 <Directory /home/httpd/html/backup>
147 AuthName "Restricted"
149 AuthUserFile /var/ipfire/auth/users
153 include /etc/httpd/conf/hostname.conf