Ignore:
Timestamp:
Oct 15, 2007, 5:27:38 AM (17 years ago)
Author:
geofft
Message:
more ldap chocolatey goodness
Location:
server/fedora/config/etc/httpd
Files:
2 edited

Legend:

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

    r455 r478  
    88### you have to enable mod_ldap as well ###
    99
    10 # this should really go in httpd.conf
    11 LoadModule ldap_module modules/mod_ldap.so
    12 LoadModule vhost_ldap_module    modules/mod_vhost_ldap.so
    13 
    14 #<IfModule mod_vhost_ldap.c>
    15     VhostLDAPEnabled on
    16     VhostLDAPUrl "ldap://18.187.6.190/ou=vhosts,dc=scripts,dc=mit,dc=edu"
    17     #VhostLdapBindDN "cn=admin,dc=localhost"
    18     #VhostLDAPBindPassword "changeme"
    19 #</IfModule>
     10VhostLDAPEnabled on
     11VhostLDAPUrl "ldap://127.0.0.1/ou=vhosts,dc=scripts,dc=mit,dc=edu"
     12VhostLDAPFallback notfound.example.com
  • server/fedora/config/etc/httpd/conf/httpd.conf

    r477 r478  
    2424#LoadModule authz_dbm_module modules/mod_authz_dbm.so
    2525LoadModule authz_default_module modules/mod_authz_default.so
    26 #LoadModule ldap_module modules/mod_ldap.so
     26LoadModule ldap_module modules/mod_ldap.so
    2727#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    2828LoadModule include_module modules/mod_include.so
     
    6363LoadModule cgi_module modules/mod_cgi.so
    6464LoadModule ssl_module modules/mod_ssl.so
     65LoadModule vhost_ldap_module modules/mod_vhost_ldap.so
    6566
    6667User apache
     
    249250
    250251# LDAP vhost, w00t w00t
    251 # <VirtualHost *:80>
    252 #     Include conf.d/vhost_ldap.conf
    253 #     Include conf.d/vhosts-common.conf
    254 # </VirtualHost>
     252<VirtualHost *:80>
     253    Include conf.d/vhost_ldap.conf
     254    Include conf.d/vhosts-common.conf
     255</VirtualHost>
    255256
    256257<VirtualHost *:80>
     
    293294        Include conf.d/vhosts-common-ssl-cert.conf
    294295    </VirtualHost>
     296    # LDAP vhost, w00t w00t
     297    <VirtualHost *:443>
     298        Include conf.d/vhost_ldap.conf
     299        Include conf.d/vhosts-common-ssl.conf
     300    </VirtualHost>
    295301    <VirtualHost *:443>
    296302        Include conf.d/scripts-vhost-names.conf
     
    302308        DocumentRoot /afs/athena.mit.edu/contrib/scripts/vhosts/server.php
    303309        Include conf.d/vhosts-common-ssl.conf
     310    </VirtualHost>
     311    # LDAP vhost, w00t w00t
     312    <VirtualHost *:444>
     313        Include conf.d/vhost_ldap.conf
     314        Include conf.d/vhosts-common-ssl.conf
     315        Include conf.d/vhosts-common-ssl-cert.conf
    304316    </VirtualHost>
    305317    <VirtualHost *:444>
Note: See TracChangeset for help on using the changeset viewer.