Re: Problems with ispmanVhostServerAlias (v1.2)
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Daniel, you must not use "ispman.setVhostAttribute" for vhost aliases. The "ispmanVhostServerAlias" attribute is not used anymore, because it was replaced with a more flexible logic. From an ldap perspective, vhost aliases are now created in a sub-branch beneath the vhost entry. To create proper vhost aliases use the admin interface or "ispman.setVhostAlias" cli tool. BTW: The hash file and vhost.conf is generated in http.lib Joerg Bethany Patrick wrote: > I having a hell of a time tracking down a problem creating > ServerAliases in my Apache Vhost config. > > ISPMAN 1.2, stock templates. > > I create a domain: test.com with a www vhost and apply the following > commands: > > ispman.setVhostAttribute test.com www ispmanVhostServerAlias test.com > ispman.dnsset -d test.com -t A @ xxx.xxx.xxx.xxx > ispman.ldap2named > ispman.ldap2apache > > checking the Apache Vhost config, there is no ServerAlias added. > checking the Hash file shows: > 'ispmanVhostServerAlias' => [], > > it doesn't look like it's picking up my alias. So I check LDAP: > > dn: ispmanVhostName=www, ou=httpdata, ispmanDomain=test.com, > dc=funky,dc=chicken,dc=dance > objectClass: ispmanVirtualHost > objectClass: posixAccount > objectClass: PureFTPdUser > ispmanVhostServerAlias: test.com > uid: www.test.com > cn: www.test.com > ispmanDomain: test.com > ispmanVhostName: www > > ..among other entries unrelated (?) but there it is: > ispmanVhostServerAlias: test.com > > baffled. I can't seem to find where in the code the hash file is > created. If it's in ApacheMan, is seems to indicate the need for a > new objectclass here.. Which didn't work when I tried that either. > > Can anyone shine a light on this? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/