Change default webmail URL

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

burhankhalid
Posts: 137
Joined: Mon Dec 19, 2005 8:31 am

Change default webmail URL

Postby burhankhalid » Mon Mar 06, 2006 4:22 am

Is it possible to change the default webmail url to something other than /webmail?

natkins
Scalix
Scalix
Posts: 37
Joined: Thu Jul 10, 2003 2:21 am
Location: San Mateo, CA
Contact:

Postby natkins » Mon Mar 06, 2006 11:31 am

Hi burhankhalid,

The easiest way to do this is to do this:

1. Shut down Tomcat (/opt/scalix-tomcat/bin/shutdown.sh)
1a. Make sure it really shut down with ps -ef | grep tomcat
2. Change the file /opt/scalix-tomcat/conf/Catalina/localhost/scalix-swa.xml.
Change the mention of "webmail" to something else of your choosing
3. Remove directory /opt/scalix-tomcat/webapps/webmail
4. Remove /opt/scalix-tomcat/work/Catalina/localhost/webmail
5. Restart Tomcat (/opt/scalix-tomcat/bin/startup.sh)

When you restart Tomcat will extract the war file mentioned in scalix-swa.xml into the directory of your choosing in /opt/scalix-tomcat//webapps.

Remember when you upgrade or reinstall Scalix you will lose these changes.

Hope that helps,

Nick.
Principal Software Engineer
Scalix Corporation

burhankhalid
Posts: 137
Joined: Mon Dec 19, 2005 8:31 am

Postby burhankhalid » Tue Mar 07, 2006 4:57 am

Nick:

Thanks for your response. I managed to solve this problem by creating a subdomain and pointing it -- redirect using Apache to domain.com:8080/webmail -- and this works great.

My problem was that /webmail was being used by our existing system, and I didn't want to completely replace it -- yet.

That solved the problem on the external SWA host, but on the internal one (dedicated Tomcat for SWA) I would like to have webmail running on the default 'root' directory. So if someone types webmail.domain.com -- instead of showing the default Tomcat index page, it would show the SWA login (I have already altered Tomcat to listen on 80 -- there is no Apache on this box).

I created a hack by using a redirect in JSP (basically, altering the index.jsp file) but I would like to know what is the more 'proper' way to do this (similar to what you described with extracting the war files, etc.)

Sorry for my ignorance in this matter, I'm only vaguely familiar with Tomcat.

Thanks for your help,
Burhan


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests