From: ODHIAMBO Washington <wash@wa...> - 2003-06-03 14:41:09
I would like to use the Virtual Host Login plugin but I am wondering if
I have to all all 1000 virtual domains to config.php of this plugin.
Thanks for any insights.
Odhiambo Washington <wash@...> "The box said 'Requires
Wananchi Online Ltd. http://www.wananchi.com Windows 95, NT, or better,'
Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD."
GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-)
Psychiatrists say that one out of four people are mentally ill. Check
three friends. If they're OK, you're it.
> I would like to use the Virtual Host Login plugin but I am wondering
> I have to all all 1000 virtual domains to config.php of this plugin.
Well.... three answers ;>
1. no. not if you don't need per-domain configuration. you don't
need to add anything to that array if you only need username re-mapping.
per the last line of the section about the virtual_domains array in the
"Finally, be aware that you do not need to put anything in this array
for vlogin to work. If you only need user name reconstruction and no
other per-domain customization, then you can leave it empty (or only
include those domains that require any customization)."
If you need per-domain customization for only some of the domains,
then just add the ones you need it for, leave the rest out.
If you need per-domain customization for most or all of your domains,
then the following applies to you:
2. you have to add all domains to that array in the config file if you
are using the vlogin version downloaded from the SM website
3. if you use the version that I am attaching to this email, you don't
need to specifically add every domain. There is now an option to have a
"global virtual domain", specified with an asterisk ("*"). See the
README for more info, but be aware that using the
* means that all domains with the * will have similar settings -
although they can be customized by using "###VIRTUAL_DOMAIN###" in many
of the settings.