Managing Apache Configuration trough LDAP system
I ve just found a solution on the web for managing Apache2 configuration : vhost and global configuration !
it's here :
- http://modldapcfg.bayour.com/
- Schema : http://modldapcfg.bayour.com/apache.schema.txt
- Example : http://modldapcfg.bayour.com/websrv.ldif.txt
How it works (what I understand)
1/ store config in LDAP 2/ install apache2 and the specific module ( Lenny package here : http://modldapcfg.bayour.com/libapache2-mod-ldapcfg_1.0-8_i386.deb) 3/ configure it example :
LoadModule ldap_cfg_module /usr/lib/apache/1.3/mod_ldap_cfg.so # 1: Prints all configuration directives as sent to Apache # 2: Prints all configurations directives with line numbers # 4: Prints LDAP search information # 8: Prints LDAP connection information # 16: Prints LDAP SASL connection information # 32: Prints handling of "LDAPCfg_*" directives # 64: Prints every mod_ldap_cfg function call made # 128: Everything else that only a developer could love # -1: All of it #LDAPCfg_Debug -1 LDAPCfg_UseSimpleBind LDAPCfg_BindDN uid=apache,ou=System,dc=example,dc=com LDAPCfg_Password secret LDAPCfg_BaseDN dc=com LDAPCfg_SearchScope sub LDAPCfg_URI "ldap://localhost/" LDAPCfg_ProtoVer 3 #LDAPCfg_UseTLS LDAPCfg_Load (objectclass=*) @
4/ start apache daemon
Is it interessing ?
I thinsk Yes : FD philosophy, manage several website by simple GUI
(from redmine: issue id 499, created on 2011-10-14, closed on 2012-02-20)