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
25 ServerAdmin root@localhost
27 DocumentRoot /home/httpd/html
28 # Limit track/trace requests
30 RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS)
37 <Directory /home/httpd/html>
43 <DirectoryMatch "/home/httpd/html/(graphs|sgraph)">
46 AuthUserFile /var/ipfire/auth/users
49 ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/
50 <Directory /home/httpd/cgi-bin>
53 AuthName "IPFire - Restricted"
55 AuthUserFile /var/ipfire/auth/users
70 Require user admin dial
74 DirectoryIndex index.html index.htm index.shtml index.cgi
76 AccessFileName .htaccess
82 TypesConfig /etc/mime.types
84 DefaultType text/plain
87 ErrorLog /var/log/httpd/error_log
89 LogFormat "%h %l %u %t \"%r\" %>s %b" common
90 CustomLog /var/log/httpd/access_log common
92 AddHandler cgi-script .cgi
93 <IfModule mod_setenvif.c>
94 BrowserMatch "Mozilla/2" nokeepalive
95 BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
96 BrowserMatch "RealPlayer 4\.0" force-response-1.0
97 BrowserMatch "Java/1\.0" force-response-1.0
98 BrowserMatch "JDK/1\.0" force-response-1.0
102 ### SSL Configuration
104 AddType application/x-x509-ca-cert .crt
105 AddType application/x-pkcs7-crl .crl
107 SSLPassPhraseDialog builtin
108 SSLSessionCache dbm:/var/log/httpd/ssl_scache
109 SSLSessionCacheTimeout 900
110 SSLMutex file:/var/log/httpd/ssl_mutex
111 SSLRandomSeed startup builtin
112 SSLRandomSeed connect builtin
113 SSLLog /var/log/httpd/ssl_engine_log
116 <VirtualHost _default_:444>
118 RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|OPTIONS)
120 DocumentRoot /home/httpd/html
121 ServerAdmin root@localhost
122 ErrorLog /var/log/httpd/error_log
123 TransferLog /var/log/httpd/access_log
125 SSLProtocol all -SSLv2
126 SSLCipherSuite ALL:!ADH:!EXPORT56:!eNULL:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW:+EXP
127 SSLCertificateFile /etc/httpd/server.crt
128 SSLCertificateKeyFile /etc/httpd/server.key
129 <Files ~ "\.(cgi|shtml?)$">
130 SSLOptions +StdEnvVars
132 <Directory /home/httpd/cgi-bin>
133 SSLOptions +StdEnvVars
135 SetEnv HOME /home/nobody
136 SetEnvIf User-Agent ".*MSIE.*" \
137 nokeepalive ssl-unclean-shutdown \
138 downgrade-1.0 force-response-1.0
139 CustomLog /var/log/httpd/ssl_request_log \
140 "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
143 <Directory /home/httpd/html/backup>
146 AuthName "Restricted"
148 AuthUserFile /var/ipfire/auth/users
152 include /etc/httpd/conf/hostname.conf