changing the webmail port

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

cheeang69

changing the webmail port

Postby cheeang69 » Mon Nov 28, 2005 7:54 am

Hi

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

Cheer

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Re: changing the webmail port

Postby ScalixSupport » Mon Nov 28, 2005 9:13 am

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.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Nov 28, 2005 10:56 am

Additionally, it also means that if you disable Apache you will not be able to use the Scalix Rules Wizard through SWA.

Cheers

Dave

cheeang69

Apache port to 81

Postby cheeang69 » Thu Dec 01, 2005 7:02 pm

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

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Dec 01, 2005 7:08 pm

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


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 2 guests