Page 1 of 1

changing the webmail port

Posted: Mon Nov 28, 2005 7:54 am
by cheeang69
Hi

How can I change the webmail port from 8080 to port 80 ?

Cheer

Re: changing the webmail port

Posted: Mon Nov 28, 2005 9:13 am
by ScalixSupport
cheeang69 wrote:Hi

How can I change the webmail port from 8080 to port 80 ?

Cheer


Hello,

this can be done by changing server.xml. This file lives typically in /usr/local/jakarta-tomcat-5.0.28/conf/server.xml. Locate the line

<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
<Connector port="8080"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"

and change the 8080 with 80, then restart Tomcat. Please note that Apache by default listens on that port, so make sure you disable / change the Apache port.

Cheers,

Sascha.

Posted: Mon Nov 28, 2005 10:56 am
by ScalixSupport
Additionally, it also means that if you disable Apache you will not be able to use the Scalix Rules Wizard through SWA.

Cheers

Dave

Apache port to 81

Posted: Thu Dec 01, 2005 7:02 pm
by cheeang69
Hi
I manage to change the apache to run on port 81 and change the tomcat to run from port 8080 to port 80. But the default tomcat page is still running on port 80 e.g. http://servername will be the default tomcat page to get into pages like tomcat admin and manager pages . How can I make my webmail page to run at the root or default pages e.g. http://servername or http://mail.servername instead of http://servername/webmail


Cheer

Posted: Thu Dec 01, 2005 7:08 pm
by ScalixSupport
You can add index.html to /var/www/html which contains something like the following:

Code: Select all

<HTML>
<HEAD>
<META HTTP-EQUIV="Refresh"
      CONTENT="5; URL=https://server.domain.com/webmail/">
</HEAD>

<BODY><A HREF=https://server.domain.com/webmail//>webmail</A>
</BODY>
</HTML>


In the above example, this redirects to the HTTPS port if you use http://server.domain.com. You still want to retain the /webmail directory in the redirection URL because that is what's used by the JK connector to redirect to tomcat.

Cheers

Dave