Ignore:
Timestamp:
Nov 9, 2015, 4:26:30 PM (7 years ago)
Author:
andersk
Message:
Configure reified vhosts through LDAP

Reduces duplication, allows the owners to configure these vhosts
through Pony again, and potentially simplifies future automation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/httpd/vhosts.d/donut-api.conf

    r2642 r2731  
    1 # do not trailing-slash DocumentRoot
    2 
    3 <VirtualHost *:80>
    4         ServerName donut-api.mit.edu
    5         ServerAlias donut-api
    6         DocumentRoot /afs/athena.mit.edu/user/j/d/jdreed/web_scripts/donut-api
    7         Alias /~jdreed /afs/athena.mit.edu/user/j/d/jdreed/web_scripts
    8         SuExecUserGroup jdreed jdreed
    9         Include conf.d/vhosts-common.conf
    10 </VirtualHost>
    11 
    121<IfModule ssl_module>
    132        <VirtualHost *:443>
    143                ServerName donut-api.mit.edu
    154                ServerAlias donut-api
    16                 DocumentRoot /afs/athena.mit.edu/user/j/d/jdreed/web_scripts/donut-api
    17                 Alias /~jdreed /afs/athena.mit.edu/user/j/d/jdreed/web_scripts
    18                 SuExecUserGroup jdreed jdreed
     5                Include conf.d/vhost_ldap.conf
    196                Include conf.d/vhosts-common-ssl.conf
    207                SSLCertificateFile /etc/pki/tls/certs/donut-api.pem
     
    2411                ServerName donut-api.mit.edu
    2512                ServerAlias donut-api
    26                 DocumentRoot /afs/athena.mit.edu/user/j/d/jdreed/web_scripts/donut-api
    27                 Alias /~jdreed /afs/athena.mit.edu/user/j/d/jdreed/web_scripts
    28                 SuExecUserGroup jdreed jdreed
     13                Include conf.d/vhost_ldap.conf
    2914                Include conf.d/vhosts-common-ssl.conf
    3015                Include conf.d/vhosts-common-ssl-cert.conf
Note: See TracChangeset for help on using the changeset viewer.