Changeset 244 for server/fedora


Ignore:
Timestamp:
Mar 27, 2007, 2:14:07 PM (18 years ago)
Author:
andersk
Message:
Include common config files vhosts-common.conf and
vhosts-common-ssl.conf from every VirtualHost block, and set KeepAlive
off on all SSL vhosts (to work around the infamous LVS+MediaWiki+SSL
problem).

Location:
server/fedora/config/etc/httpd
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • server/fedora/config/etc/httpd/conf/httpd.conf

    r233 r244  
    293293        ServerName vhosts.mit.edu
    294294        DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php
     295        Include conf.d/vhosts-common.conf
    295296</VirtualHost>
    296297
     
    302303        UserDir web_scripts
    303304        RewriteEngine Off
     305        Include conf.d/vhosts-common.conf
    304306</VirtualHost>
    305307
     
    313315        Alias /src /afs/athena.mit.edu/contrib/scripts/src
    314316        Redirect /sql https://scripts.mit.edu/~sql
     317        Include conf.d/vhosts-common.conf
    315318</VirtualHost>
    316319
    317 <IfModule mod_ssl.c>
     320<IfModule ssl_module>
    318321        Listen 443
    319322
     
    340343                UserDir web_scripts
    341344                RewriteEngine Off
    342                 SSLEngine on
     345                Include conf.d/vhosts-common-ssl.conf
    343346                SSLCertificateFile /etc/pki/tls/certs/scripts-cert-new.pem
    344347                SSLVerifyClient require
    345348                SSLVerifyDepth 1
    346                 SSLOptions +StdEnvVars
    347                 KeepAlive Off
    348349        </VirtualHost>
    349350        <VirtualHost *:443>
     
    352353                DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php
    353354                RewriteEngine Off
    354                 SSLEngine on
    355                 KeepAlive Off
     355                Include conf.d/vhosts-common-ssl.conf
    356356        </VirtualHost>
    357357        <VirtualHost *:443>
     
    362362                UserDir web_scripts
    363363                RewriteEngine Off
    364                 SSLEngine on
    365                 KeepAlive Off
     364                Include conf.d/vhosts-common-ssl.conf
    366365        </VirtualHost>
    367366</IfModule>
Note: See TracChangeset for help on using the changeset viewer.