Configuring
iManager for Virtual Subhosts
iManager
authenticates a user by looking in the ~/etc/passwd
file. Hence, any user with a valid User
Account can access iManager with their login and password. Access
will be granted only to the user's home directory. Your Virtual
Subhost customers can also access iManager using the Virtual Server
hostname, like this:
http://SERVER.IP.ADDRESS/imanager/
The users would simply use their user account login and password in
order to authenticate. It is also possible to configure your Virtual Server
so that a user can also access iManager using their own domain name, like
this:
http://SUBHOSTED-DOMAIN.NAME/imanager/
or something more generic like 'mail' instead of 'imanager', for example:
http://SUBHOSTED-DOMAIN.NAME/mail/
To use either one of the above urls, you would add one of the following
Alias
directives
to your web server configuration file (~/www/conf/httpd.conf).
Alias /imanager/ /usr/local/etc/httpd/htdocs/imanager/
Alias /mail/ /usr/local/etc/httpd/htdocs/imanager/
Of course, you can choose any alias name that strikes your fancy. You
would simply need to replace '/imanager/' or '/mail/' in one of the previous
Alias
directives
to be whatever you wish.
Cname Access
You can also configure your Virtual Server so that a subhosted domain
name can access iManager using a canonical domain name such as 'imanager'
or 'mail'. Consider the following examples:
http://imanager.SUBHOSTED-DOMAIN.NAME/
or
http://mail.SUBHOSTED-DOMAIN.NAME/
To enable access to iManager as a cname, complete the following steps.
-
Order your cname from our Order
Web Site.
-
Add the following <VirtualHost...>
directive to your web server configuration file (~/www/conf/httpd.conf).
<VirtualHost imanager.SUBHOSTED-DOMAIN.NAME>
ServerName imanager.SUBHOSTED-DOMAIN.NAME
ServerAdmin webmaster@SUBHOSTED-DOMAIN.NAME
DocumentRoot /usr/local/etc/httpd/htdocs/imanager
TransferLog /dev/null
</VirtualHost>
or alternatively:
<VirtualHost mail.SUBHOSTED-DOMAIN.NAME>
ServerName mail.SUBHOSTED-DOMAIN.NAME
ServerAdmin webmaster@SUBHOSTED-DOMAIN.NAME
DocumentRoot /usr/local/etc/httpd/htdocs/imanager
TransferLog /dev/null
</VirtualHost>
NOTE: If you would like to use a different canonical
name, then substitute the CNAME record you created for imanager
or mail
above in the VirtualHost
and ServerName
directives. Do not change the DocumentRoot
directive.
|