[modcfgldap-devel] Re: (Re-)design - multiple vhosts / server
Status: Beta
Brought to you by:
abrenk
From: Turbo F. <tu...@ba...> - 2004-04-13 10:16:29
|
Quoting Andreas Brenk <mai...@an...>: > An objectClass apacheConfig is contained in the distribution but you > are free to adopt these attributes into your own, private > objectClass(es). I was just using my schema because I know it well (and because your schema was lacking some attributes). > Let's take www.example.com as an example here. What mod_cfg_ldap does is > to search the tree for a node that has an attribute > apacheServerName=www.example.com or apacheServerAlias=www.example.com > (since 1.1 it adds the user-defined search filter). > If it doesn't find a node it doesn't handle the request. Hmm, oki. I see your point. I was thinking backwards (or sideways :). > Talking about my example LDIF: If you have an Apache server that should > serve customer-one's vhost but not customer-two's you could set the > user-defined filter to "(ARecord=172.16.1.1)". Right. This will specify which vhost(s) that is availible on what physical machine/ip. > I hope this helps. Maybe I should wrap this up into a howto or manual... It does, and YES YOU SHOULD!! :) |