@@ -273,13 +273,6 @@ ProxyRequests Off
273
273
ErrorDocument 404 "No favicon.ico.
274
274
</Location >
275
275
276
- <VirtualHost 18.4.86.50:80 >
277
- ServerName scripts-cert.mit.edu
278
- ServerAlias scripts-cert
279
- Include conf.d/scripts-vhost.conf
280
- Include conf.d/vhosts-common.conf
281
- </VirtualHost >
282
-
283
276
# LDAP vhost, w00t w00t
284
277
<VirtualHost *:80 >
285
278
ServerName localhost
@@ -293,6 +286,14 @@ ProxyRequests Off
293
286
Include conf.d/vhosts-common.conf
294
287
</VirtualHost >
295
288
289
+ # scripts-cert.mit.edu; must be listed below the default vhost
290
+ <VirtualHost 18.4.86.50:80 *:80 >
291
+ ServerName scripts-cert.mit.edu
292
+ ServerAlias scripts-cert
293
+ Include conf.d/scripts-vhost.conf
294
+ Include conf.d/vhosts-common.conf
295
+ </VirtualHost >
296
+
296
297
<IfModule ssl_module >
297
298
Listen 443
298
299
Listen 444
@@ -321,15 +322,6 @@ ProxyRequests Off
321
322
SSLHonorCipherOrder on
322
323
SSLCompression off
323
324
324
- <VirtualHost 18.4.86.50:443 18.4.86.50:444 >
325
- ServerName scripts-cert.mit.edu
326
- ServerAlias scripts-cert
327
- Include conf.d/scripts-vhost.conf
328
- Include conf.d/vhosts-common-ssl.conf
329
- SSLCertificateFile /etc/pki/tls/certs/scripts-cert.pem
330
- SSLCertificateKeyFile /etc/pki/tls/private/scripts-2048 .key
331
- Include conf.d/vhosts-common-ssl-cert.conf
332
- </VirtualHost >
333
325
<VirtualHost 18.4.86.43:443 >
334
326
Include conf.d/scripts-vhost-names.conf
335
327
Include conf.d/scripts-vhost.conf
@@ -377,6 +369,16 @@ ProxyRequests Off
377
369
Include conf.d/vhosts-common-ssl.conf
378
370
Include conf.d/vhosts-common-ssl-cert.conf
379
371
</VirtualHost >
372
+ # scripts-cert.mit.edu; must be listed below the default vhost
373
+ <VirtualHost 18.4.86.50:443 18.4.86.50:444 *:443 *:444 >
374
+ ServerName scripts-cert.mit.edu
375
+ ServerAlias scripts-cert
376
+ Include conf.d/scripts-vhost.conf
377
+ Include conf.d/vhosts-common-ssl.conf
378
+ SSLCertificateFile /etc/pki/tls/certs/scripts-cert.pem
379
+ SSLCertificateKeyFile /etc/pki/tls/private/scripts-2048 .key
380
+ Include conf.d/vhosts-common-ssl-cert.conf
381
+ </VirtualHost >
380
382
Include /var/lib/scripts-certs/vhosts.conf
381
383
</IfModule >
382
384
0 commit comments