1 | ServerRoot /etc/httpd |
---|
2 | PidFile run/httpd.pid |
---|
3 | Timeout 300 |
---|
4 | KeepAlive On |
---|
5 | MaxKeepAliveRequests 1000 |
---|
6 | KeepAliveTimeout 15 |
---|
7 | |
---|
8 | <IfModule mpm_prefork_module> |
---|
9 | MinSpareServers 5 |
---|
10 | MaxSpareServers 20 |
---|
11 | StartServers 8 |
---|
12 | MaxClients 256 |
---|
13 | MaxRequestsPerChild 4000 |
---|
14 | </IfModule> |
---|
15 | |
---|
16 | <IfModule mpm_worker_module> |
---|
17 | StartServers 3 |
---|
18 | MinSpareThreads 75 |
---|
19 | MaxSpareThreads 250 |
---|
20 | ServerLimit 16 |
---|
21 | ThreadsPerChild 25 |
---|
22 | MaxClients 400 |
---|
23 | MaxRequestsPerChild 10000 |
---|
24 | </IfModule> |
---|
25 | |
---|
26 | LoadModule auth_basic_module modules/mod_auth_basic.so |
---|
27 | LoadModule auth_digest_module modules/mod_auth_digest.so |
---|
28 | LoadModule authn_file_module modules/mod_authn_file.so |
---|
29 | LoadModule authn_alias_module modules/mod_authn_alias.so |
---|
30 | LoadModule authn_anon_module modules/mod_authn_anon.so |
---|
31 | #LoadModule authn_dbm_module modules/mod_authn_dbm.so |
---|
32 | LoadModule authn_default_module modules/mod_authn_default.so |
---|
33 | LoadModule authz_host_module modules/mod_authz_host.so |
---|
34 | LoadModule authz_user_module modules/mod_authz_user.so |
---|
35 | LoadModule authz_owner_module modules/mod_authz_owner.so |
---|
36 | LoadModule authz_groupfile_module modules/mod_authz_groupfile.so |
---|
37 | #LoadModule authz_dbm_module modules/mod_authz_dbm.so |
---|
38 | LoadModule authz_default_module modules/mod_authz_default.so |
---|
39 | LoadModule ldap_module modules/mod_ldap.so |
---|
40 | #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so |
---|
41 | LoadModule include_module modules/mod_include.so |
---|
42 | LoadModule log_config_module modules/mod_log_config.so |
---|
43 | #LoadModule logio_module modules/mod_logio.so |
---|
44 | LoadModule env_module modules/mod_env.so |
---|
45 | LoadModule ext_filter_module modules/mod_ext_filter.so |
---|
46 | #LoadModule mime_magic_module modules/mod_mime_magic.so |
---|
47 | LoadModule expires_module modules/mod_expires.so |
---|
48 | #LoadModule deflate_module modules/mod_deflate.so |
---|
49 | LoadModule headers_module modules/mod_headers.so |
---|
50 | #LoadModule usertrack_module modules/mod_usertrack.so |
---|
51 | LoadModule setenvif_module modules/mod_setenvif.so |
---|
52 | LoadModule mime_module modules/mod_mime.so |
---|
53 | #LoadModule dav_module modules/mod_dav.so |
---|
54 | LoadModule status_module modules/mod_status.so |
---|
55 | LoadModule autoindex_module modules/mod_autoindex.so |
---|
56 | #LoadModule info_module modules/mod_info.so |
---|
57 | #LoadModule dav_fs_module modules/mod_dav_fs.so |
---|
58 | #LoadModule vhost_alias_module modules/mod_vhost_alias.so |
---|
59 | LoadModule negotiation_module modules/mod_negotiation.so |
---|
60 | LoadModule dir_module modules/mod_dir.so |
---|
61 | LoadModule actions_module modules/mod_actions.so |
---|
62 | #LoadModule speling_module modules/mod_speling.so |
---|
63 | LoadModule userdir_module modules/mod_userdir.so |
---|
64 | LoadModule alias_module modules/mod_alias.so |
---|
65 | LoadModule rewrite_module modules/mod_rewrite.so |
---|
66 | #LoadModule proxy_module modules/mod_proxy.so |
---|
67 | #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so |
---|
68 | #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so |
---|
69 | #LoadModule proxy_http_module modules/mod_proxy_http.so |
---|
70 | #LoadModule proxy_connect_module modules/mod_proxy_connect.so |
---|
71 | #LoadModule cache_module modules/mod_cache.so |
---|
72 | LoadModule suexec_module modules/mod_suexec.so |
---|
73 | #LoadModule disk_cache_module modules/mod_disk_cache.so |
---|
74 | #LoadModule file_cache_module modules/mod_file_cache.so |
---|
75 | #LoadModule mem_cache_module modules/mod_mem_cache.so |
---|
76 | LoadModule cgi_module modules/mod_cgi.so |
---|
77 | LoadModule ssl_module modules/mod_ssl.so |
---|
78 | LoadModule vhost_ldap_module modules/mod_vhost_ldap.so |
---|
79 | |
---|
80 | User apache |
---|
81 | Group apache |
---|
82 | |
---|
83 | #ErrorDocument 403 /403-404.html |
---|
84 | #ErrorDocument 404 /403-404.html |
---|
85 | #ErrorDocument 500 /script_error.html |
---|
86 | |
---|
87 | UserDir disabled |
---|
88 | |
---|
89 | <Directory /> |
---|
90 | AllowOverride None |
---|
91 | Options FollowSymLinks IncludesNoExec |
---|
92 | </Directory> |
---|
93 | |
---|
94 | <Directory /afs/*/*/web_scripts> |
---|
95 | AllowOverride All |
---|
96 | </Directory> |
---|
97 | <Directory /afs/*/*/*/web_scripts> |
---|
98 | AllowOverride All |
---|
99 | </Directory> |
---|
100 | <Directory /afs/*/*/*/*/web_scripts> |
---|
101 | AllowOverride All |
---|
102 | </Directory> |
---|
103 | <Directory /afs/*/*/*/*/*/web_scripts> |
---|
104 | AllowOverride All |
---|
105 | </Directory> |
---|
106 | <Directory /afs/*/*/*/*/*/*/web_scripts> |
---|
107 | AllowOverride All |
---|
108 | </Directory> |
---|
109 | <Directory /afs/*/*/*/*/*/*/*/web_scripts> |
---|
110 | AllowOverride All |
---|
111 | </Directory> |
---|
112 | <Directory /afs/*/*/*/*/*/*/*/*/web_scripts> |
---|
113 | AllowOverride All |
---|
114 | </Directory> |
---|
115 | |
---|
116 | <IfModule mod_dir.c> |
---|
117 | DirectoryIndex index index.html index.htm index.cgi index.pl index.php index.py index.shtml index.exe |
---|
118 | </IfModule> |
---|
119 | |
---|
120 | AccessFileName .htaccess |
---|
121 | |
---|
122 | <Files ~ "^\.ht"> |
---|
123 | Order Allow,Deny |
---|
124 | Deny from all |
---|
125 | </Files> |
---|
126 | |
---|
127 | UseCanonicalName Off |
---|
128 | TypesConfig /etc/mime.types |
---|
129 | DefaultType text/plain |
---|
130 | #MIMEMagicFile conf/magic |
---|
131 | |
---|
132 | HostnameLookups Off |
---|
133 | ErrorLog "/home/logview/error_log" |
---|
134 | LogLevel warn |
---|
135 | LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined |
---|
136 | LogFormat "%h %l %u %t \"%r\" %>s %b" common |
---|
137 | #CustomLog /var/log/httpd/access_log combined |
---|
138 | ServerSignature Off |
---|
139 | ServerAdmin scripts@mit.edu |
---|
140 | ServerTokens Prod |
---|
141 | |
---|
142 | <IfModule mod_autoindex.c> |
---|
143 | Alias /__scripts/icons /var/www/icons |
---|
144 | <Directory /var/www/icons> |
---|
145 | Options None |
---|
146 | AllowOverride None |
---|
147 | <Files ~ "\.(gif|png)$"> |
---|
148 | SetHandler default-handler |
---|
149 | </Files> |
---|
150 | </Directory> |
---|
151 | |
---|
152 | IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable |
---|
153 | |
---|
154 | AddIconByEncoding (CMP,/__scripts/icons/compressed.gif) x-compress x-gzip |
---|
155 | |
---|
156 | AddIconByType (TXT,/__scripts/icons/text.gif) text/* |
---|
157 | AddIconByType (IMG,/__scripts/icons/image2.gif) image/* |
---|
158 | AddIconByType (SND,/__scripts/icons/sound2.gif) audio/* |
---|
159 | AddIconByType (VID,/__scripts/icons/movie.gif) video/* |
---|
160 | |
---|
161 | AddIcon /__scripts/icons/binary.gif .bin .exe |
---|
162 | AddIcon /__scripts/icons/binhex.gif .hqx |
---|
163 | AddIcon /__scripts/icons/tar.gif .tar |
---|
164 | AddIcon /__scripts/icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv |
---|
165 | AddIcon /__scripts/icons/compressed.gif .Z .z .tgz .gz .zip |
---|
166 | AddIcon /__scripts/icons/a.gif .ps .ai .eps |
---|
167 | AddIcon /__scripts/icons/layout.gif .html .shtml .htm .pdf |
---|
168 | AddIcon /__scripts/icons/text.gif .txt |
---|
169 | AddIcon /__scripts/icons/c.gif .c |
---|
170 | AddIcon /__scripts/icons/p.gif .pl .py |
---|
171 | AddIcon /__scripts/icons/f.gif .for |
---|
172 | AddIcon /__scripts/icons/dvi.gif .dvi |
---|
173 | AddIcon /__scripts/icons/uuencoded.gif .uu |
---|
174 | AddIcon /__scripts/icons/script.gif .conf .sh .shar .csh .ksh .tcl |
---|
175 | AddIcon /__scripts/icons/tex.gif .tex |
---|
176 | AddIcon /__scripts/icons/bomb.gif core |
---|
177 | AddIcon /__scripts/icons/deb.gif .deb |
---|
178 | |
---|
179 | AddIcon /__scripts/icons/back.gif .. |
---|
180 | AddIcon /__scripts/icons/hand.right.gif README |
---|
181 | AddIcon /__scripts/icons/folder.gif ^^DIRECTORY^^ |
---|
182 | AddIcon /__scripts/icons/blank.gif ^^BLANKICON^^ |
---|
183 | |
---|
184 | DefaultIcon /__scripts/icons/unknown.gif |
---|
185 | |
---|
186 | ReadmeName README |
---|
187 | HeaderName HEADER |
---|
188 | |
---|
189 | IndexIgnore .??* *~ *# RCS CVS *,v *,t |
---|
190 | </IfModule> |
---|
191 | |
---|
192 | <IfModule mod_mime.c> |
---|
193 | AddType application/xhtml+xml .xhtml |
---|
194 | AddType application/http-index-format .hti |
---|
195 | AddType text/html .html |
---|
196 | AddType text/css .css |
---|
197 | AddType text/xsl .xslt |
---|
198 | AddType application/x-javascript .js |
---|
199 | AddType application/xml .xml |
---|
200 | AddType image/svg+xml .svg |
---|
201 | AddType application/vnd.mozilla.xul+xml .xul |
---|
202 | AddType application/rdf+xml .rdf |
---|
203 | AddType application/x-xpinstall .xpi |
---|
204 | AddType text/xml .xsl |
---|
205 | AddType text/html .shtml |
---|
206 | AddHandler server-parsed .shtml |
---|
207 | |
---|
208 | AddEncoding x-compress Z |
---|
209 | AddEncoding x-gzip gz tgz |
---|
210 | |
---|
211 | AddLanguage da .dk |
---|
212 | AddLanguage nl .nl |
---|
213 | AddLanguage en .en |
---|
214 | AddLanguage et .ee |
---|
215 | AddLanguage fr .fr |
---|
216 | AddLanguage de .de |
---|
217 | AddLanguage el .el |
---|
218 | AddLanguage it .it |
---|
219 | AddLanguage ja .ja |
---|
220 | AddCharset ISO-2022-JP .jis |
---|
221 | AddLanguage pl .po |
---|
222 | AddCharset ISO-8859-2 .iso-pl |
---|
223 | AddLanguage pt .pt |
---|
224 | AddLanguage pt-br .pt-br |
---|
225 | AddLanguage ltz .lu |
---|
226 | AddLanguage ca .ca |
---|
227 | AddLanguage es .es |
---|
228 | AddLanguage sv .se |
---|
229 | AddLanguage cz .cz |
---|
230 | |
---|
231 | <IfModule mod_negotiation.c> |
---|
232 | LanguagePriority en da nl et fr de el it ja pl pt pt-br ltz ca es sv |
---|
233 | </IfModule> |
---|
234 | |
---|
235 | AddType application/x-tar .tgz |
---|
236 | AddType image/bmp .bmp |
---|
237 | |
---|
238 | AddType text/x-hdml .hdml |
---|
239 | </IfModule> |
---|
240 | |
---|
241 | <IfModule mod_setenvif.c> |
---|
242 | BrowserMatch "Mozilla/2" nokeepalive |
---|
243 | BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 |
---|
244 | BrowserMatch "RealPlayer 4\.0" force-response-1.0 |
---|
245 | BrowserMatch "Java/1\.0" force-response-1.0 |
---|
246 | BrowserMatch "JDK/1\.0" force-response-1.0 |
---|
247 | SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown |
---|
248 | </IfModule> |
---|
249 | |
---|
250 | Listen 80 |
---|
251 | |
---|
252 | RLimitCPU 60 60 |
---|
253 | RLimitMEM 536870912 536870912 |
---|
254 | RLimitNPROC 1024 1024 |
---|
255 | |
---|
256 | SetEnv REDIRECT_STATUS CGI |
---|
257 | SetEnv PHPRC . |
---|
258 | |
---|
259 | NameVirtualHost *:80 |
---|
260 | NameVirtualHost *:443 |
---|
261 | NameVirtualHost *:444 |
---|
262 | NameVirtualHost 18.181.0.50:80 |
---|
263 | NameVirtualHost 18.181.0.50:443 |
---|
264 | NameVirtualHost 18.181.0.50:444 |
---|
265 | |
---|
266 | ServerName localhost |
---|
267 | DocumentRoot /afs/athena.mit.edu/contrib/scripts/www |
---|
268 | |
---|
269 | ExtendedStatus On |
---|
270 | RewriteEngine Off |
---|
271 | |
---|
272 | <Location /robots.txt> |
---|
273 | ErrorDocument 404 "No robots.txt. |
---|
274 | </Location> |
---|
275 | <Location /favicon.ico> |
---|
276 | ErrorDocument 404 "No favicon.ico. |
---|
277 | </Location> |
---|
278 | |
---|
279 | <VirtualHost 18.181.0.50:80> |
---|
280 | ServerName scripts-cert.mit.edu |
---|
281 | ServerAlias scripts-cert |
---|
282 | Include conf.d/scripts-vhost.conf |
---|
283 | Include conf.d/vhosts-common.conf |
---|
284 | </VirtualHost> |
---|
285 | |
---|
286 | # LDAP vhost, w00t w00t |
---|
287 | <VirtualHost *:80> |
---|
288 | Include conf.d/vhost_ldap.conf |
---|
289 | Include conf.d/vhosts-common.conf |
---|
290 | </VirtualHost> |
---|
291 | |
---|
292 | <VirtualHost *:80> |
---|
293 | Include conf.d/scripts-vhost-names.conf |
---|
294 | Include conf.d/scripts-vhost.conf |
---|
295 | Include conf.d/vhosts-common.conf |
---|
296 | </VirtualHost> |
---|
297 | |
---|
298 | <IfModule ssl_module> |
---|
299 | Listen 443 |
---|
300 | Listen 444 |
---|
301 | |
---|
302 | AddType application/x-x509-ca-cert .crt |
---|
303 | AddType application/x-pkcs7-crl .crl |
---|
304 | |
---|
305 | SSLPassPhraseDialog builtin |
---|
306 | SSLSessionCache dbm:/var/run/ssl_scache |
---|
307 | SSLSessionCacheTimeout 28800 |
---|
308 | SSLMutex file:/var/run/ssl_mutex |
---|
309 | SSLRandomSeed startup builtin |
---|
310 | SSLRandomSeed connect builtin |
---|
311 | SSLCertificateFile /etc/pki/tls/certs/scripts.pem |
---|
312 | SSLCertificateKeyFile /etc/pki/tls/private/scripts.key |
---|
313 | SSLCACertificateFile /etc/pki/tls/certs/ca.pem |
---|
314 | SSLVerifyClient none |
---|
315 | SSLOptions +StdEnvVars |
---|
316 | <VirtualHost 18.181.0.50:443 18.181.0.50:444> |
---|
317 | ServerName scripts-cert.mit.edu |
---|
318 | ServerAlias scripts-cert |
---|
319 | Include conf.d/scripts-vhost.conf |
---|
320 | Include conf.d/vhosts-common-ssl.conf |
---|
321 | SSLCertificateFile /etc/pki/tls/certs/scripts-cert.pem |
---|
322 | Include conf.d/vhosts-common-ssl-cert.conf |
---|
323 | </VirtualHost> |
---|
324 | # LDAP vhost, w00t w00t |
---|
325 | <VirtualHost *:443> |
---|
326 | ServerName localhost |
---|
327 | Include conf.d/vhost_ldap.conf |
---|
328 | Include conf.d/vhosts-common-ssl.conf |
---|
329 | </VirtualHost> |
---|
330 | <VirtualHost *:443> |
---|
331 | ServerName scripts.scripts.mit.edu |
---|
332 | ServerAlias *.scripts.mit.edu *.scripts |
---|
333 | SSLCertificateFile /etc/pki/tls/certs/star.scripts.pem |
---|
334 | SSLCertificateKeyFile /etc/pki/tls/private/star.scripts.key |
---|
335 | Include conf.d/vhost_ldap.conf |
---|
336 | Include conf.d/vhosts-common-ssl.conf |
---|
337 | </VirtualHost> |
---|
338 | <VirtualHost *:443> |
---|
339 | Include conf.d/scripts-vhost-names.conf |
---|
340 | Include conf.d/scripts-vhost.conf |
---|
341 | Include conf.d/vhosts-common-ssl.conf |
---|
342 | </VirtualHost> |
---|
343 | # LDAP vhost, w00t w00t |
---|
344 | <VirtualHost *:444> |
---|
345 | ServerName localhost |
---|
346 | Include conf.d/vhost_ldap.conf |
---|
347 | Include conf.d/vhosts-common-ssl.conf |
---|
348 | Include conf.d/vhosts-common-ssl-cert.conf |
---|
349 | </VirtualHost> |
---|
350 | <VirtualHost *:444> |
---|
351 | ServerName scripts.scripts.mit.edu |
---|
352 | ServerAlias *.scripts.mit.edu *.scripts |
---|
353 | SSLCertificateFile /etc/pki/tls/certs/star.scripts.pem |
---|
354 | SSLCertificateKeyFile /etc/pki/tls/private/star.scripts.key |
---|
355 | Include conf.d/vhost_ldap.conf |
---|
356 | Include conf.d/vhosts-common-ssl.conf |
---|
357 | Include conf.d/vhosts-common-ssl-cert.conf |
---|
358 | </VirtualHost> |
---|
359 | <VirtualHost *:444> |
---|
360 | Include conf.d/scripts-vhost-names.conf |
---|
361 | Include conf.d/scripts-vhost.conf |
---|
362 | Include conf.d/vhosts-common-ssl.conf |
---|
363 | Include conf.d/vhosts-common-ssl-cert.conf |
---|
364 | </VirtualHost> |
---|
365 | </IfModule> |
---|
366 | |
---|
367 | LoadModule fcgid_module modules/mod_fcgid.so |
---|
368 | AddHandler fcgid-script fcgi |
---|
369 | <Files *.fcgi> |
---|
370 | Options +ExecCGI |
---|
371 | </Files> |
---|
372 | SocketPath run/mod_fcgid |
---|
373 | |
---|
374 | Include conf.d/auth_sslcert.conf |
---|
375 | Include conf.d/execsys.conf |
---|
376 | Include conf.d/scripts-special.conf |
---|