Changeset 219 for vhosts


Ignore:
Timestamp:
Mar 11, 2007, 8:50:54 PM (16 years ago)
Author:
andersk
Message:
Just use ServerAlias instead of lots of separate VirtualHosts.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • vhosts/conf.d/linerva.conf

    r218 r219  
    11<VirtualHost *:80>
    22        ServerName linerva.mit.edu
    3         ServerAlias linerva
     3        ServerAlias linerva linux-dialup.mit.edu linux-dialup linux.mit.edu linux not-slowlaris.mit.edu not-slowlaris
    44        DocumentRoot /afs/sipb.mit.edu/project/linerva/web_scripts
    55        SuExecUserGroup linerva linerva
     
    88<VirtualHost *:443>
    99        ServerName linerva.mit.edu
    10         ServerAlias linerva
     10        ServerAlias linerva linux-dialup.mit.edu linux-dialup linux.mit.edu linux not-slowlaris.mit.edu not-slowlaris
    1111        DocumentRoot /afs/sipb.mit.edu/project/linerva/web_scripts
    1212        SuExecUserGroup linerva linerva
     
    1515        </IfModule>
    1616</VirtualHost>
    17 
    18 <VirtualHost *:80>
    19         ServerName linux.mit.edu
    20         ServerAlias linux
    21         DocumentRoot /afs/sipb.mit.edu/project/linerva/web_scripts
    22         SuExecUserGroup linerva linerva
    23 </VirtualHost>
    24 
    25 <VirtualHost *:443>
    26         ServerName linux.mit.edu
    27         ServerAlias linux
    28         DocumentRoot /afs/sipb.mit.edu/project/linerva/web_scripts
    29         SuExecUserGroup linerva linerva
    30         <IfModule mod_ssl.c>
    31         SSLEngine on
    32         </IfModule>
    33 </VirtualHost>
    34 
    35 <VirtualHost *:80>
    36         ServerName linux-dialup.mit.edu
    37         ServerAlias linux-dialup
    38         DocumentRoot /afs/sipb.mit.edu/project/linerva/web_scripts
    39         SuExecUserGroup linerva linerva
    40 </VirtualHost>
    41 
    42 <VirtualHost *:443>
    43         ServerName linux-dialup.mit.edu
    44         ServerAlias linux-dialup
    45         DocumentRoot /afs/sipb.mit.edu/project/linerva/web_scripts
    46         SuExecUserGroup linerva linerva
    47         <IfModule mod_ssl.c>
    48         SSLEngine on
    49         </IfModule>
    50 </VirtualHost>
    51 
    52 <VirtualHost *:80>
    53         ServerName not-slowlaris.mit.edu
    54         ServerAlias not-slowlaris
    55         DocumentRoot /afs/sipb.mit.edu/project/linerva/web_scripts
    56         SuExecUserGroup linerva linerva
    57 </VirtualHost>
    58 
    59 <VirtualHost *:443>
    60         ServerName not-slowlaris.mit.edu
    61         ServerAlias not-slowlaris
    62         DocumentRoot /afs/sipb.mit.edu/project/linerva/web_scripts
    63         SuExecUserGroup linerva linerva
    64         <IfModule mod_ssl.c>
    65         SSLEngine on
    66         </IfModule>
    67 </VirtualHost>
Note: See TracChangeset for help on using the changeset viewer.