HTTP Modules |
||||||||||||||||||||||||||||||||||||||||||||
|
The authentication schemes supported with the HTTP protocol protect the WebAdmin pages from an unauthorized access. In order to access the WebAdmin pages, the user should provide the name and the password of a CommuniGatePro account with required Server Access Rights.
By default, the HTTP Admin module accepts clear text TCP/IP WebAdmin connections on the port 8010 and secure (SSL/TLS) connections on the TCP port 9010.
To access the WebAdmin pages, the Server administrator should use the
following URLs:
http://domain.com:8010
https://domain.com:9010
where domain.com is the name of the main server domain or its alias,
or the IP address of the CommuniGate Pro Server.
A domain administrator should access the server using the following URL:
The server will ask for a user (Account) name and a password, and if the specified Account has the Domain Administrator access right, the list of the Domain Accounts is displayed.
Sometimes this URL cannot be used. For example, a secondary Domain may have no DNS A-records (only MX records). To access such a Domain, its Domain Administrator should use the following URL:
Server configuration errors can cut you off the Server WebAdmin Interface, if all your Server IP addresses and DNS names are assigned to secondary Domains. To access the Server WebAdmin Interface, use the following URLs:
Other Domains can specify your Domain as their Administrtor Domain. Your Domain WebAdmin Login page provides a list of those Domains, so you can open their WebAdmin Interfaces. Remember that you should login using your full Account name (yourAccountName@yourDomainName) when accessing other Domain WebAdmin pages.
Registered users and guests can also use this component to browse mailing list archives.
By default, the HTTP User module accepts clear text TCP/IP connections on the
TCP port 8100, and the secure connections - on the TCP port 9100. If your Server does not have
to coexist with some other Web Server on the same computer, it is recommended to change these
port numbers to 80 and 443 - the standard HTTP and HTTPS port numbers.
In this case your users will not have to specify the port number in their browsers.
The URL for the account@domain personal File Site is:
http://domain:port/~account
where port is the WebUser port (8100 by default).
The list of files on that Personal File Site can be seen at:
http://domain:port/~account/index.wssp
You can also use the CommuniGate Pro Router to access Personal File Sites with domain-level URLs. See the Routing section below.
You can specify an alternative Personal File Sites prefix in the Domain Settings.
That setting can be an empty string, in this case Personal File Sites can be accessed using the following URLs:
http://domain:port/account/.
The URL for Calendaring data is:
All Calendaring data requests must be authenticated: the user should specify the Account name and password. The Account and its Domain must have their WebCal Service enabled.
If the user Domain Name or Domain Alias name is mail.company.com, the WebUser port is 80, and the mailbox name is Calendar, the access URL is
Any Calendar-type or Task-type mailbox can be accessed this way. To access a mailbox in a different Account, the full mailbox name should be specified:
The HTTP module supports the following HTTP operations for the /CalendarData/ realm:
Some applications do not support the DELETE method. These applications expect that the PUT operation removes all previous information from the Calendar mailbox. To support these applications, use the CalendarDataDel realm instead of the CalendarData realm, or include the DeleteAll=1 parameter into the URL. In this case each PUT operation will be preceeded with a virtual DELETE operation removing all exiting iCalendar items from the mailbox.
Use any Web Browser to connect to the Administration Port on your Server, and open the Access page in the Settings section.
If the CommuniGate Pro Server computer runs some other Web Server application, you should specify a port number in the "secondary range" to avoid conflicts with that other Web Server application. Usually the "secondary" Web Servers use ports numbers in the 8000-8100 range. If you set the port number to 8010, you will be able to connect to your server by entering http://xxx.yyy.zzz:8010 in your Web browser, where xxx.yyy.zzz is the exact domain name (A-record) or the IP address of your server.
Additional HTTP protocol options can be found on the WebUser page in the Setting realm of the WebAdmin Interface:
The HTTP modules set the MIME Content-Type for every object they send. To detect the proper Content-Type for plain files, the modules use the file name extension and the following built-in table:
|
You can extend this table by specifying additional file name extensions and corresponding MIME Content-Types:
When a request is received on the WebAdmin port, the HTTP module should use the domain name or the IP address specified in the URL to decide which Domain Administration pages to display.
When a request is received on the WebUser port, the HTTP module should use the name specified in the URL to decide which Domain (its login page, mailing lists, Personal File Sites, etc.) to access.
In order to support all types of CommuniGate Pro Routing features (Router Table, Domain Aliases, IP Address to Domain Mapping, etc.), the HTTP module composes a complete E-mail address LoginPage@domainname (where domainname is the domain name specified in the request URL), and then it processes this address with the Router:
Samples (Router Table records, domainA.com is a CommuniGate Pro Domain):
Use the WebAdmin Interface to open the WebUser page in the Settings realm:
CGI programs can be used to extend functionality of the WebUser Interface. They can log into the Server via its PWD module to do some CLI/API operations and/or via the IMAP module to access and modify mailbox data. To simplify these login operations, CGI programs can use the WebUser Authenitcation method.