Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Change URL of Zimbra login.

  1. #1
    zap
    zap is offline Junior Member
    Join Date
    Jan 2006
    Posts
    9
    Rep Power
    9

    Default Change URL of Zimbra login.

    If people point their browser to www.myhost.com then they get the Zimbra login. I would like to change that, so that the Zimbra login only shows up if people go to www.myhost.com/zimbra

    Is that possible?

    Thanks.

  2. #2
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default default webapp

    Removing this line:
    <Context path="/" docBase="${catalina.home}/webapps/zimbra" debug="0" crossContext="true"/>
    from /opt/zimbra/tomcat/conf/server.xml and restarting tomcat might do it.

  3. #3
    zap
    zap is offline Junior Member
    Join Date
    Jan 2006
    Posts
    9
    Rep Power
    9

    Default Change URL of Zimbra login.

    That did the trick.

    Thank you.

  4. #4
    mjfleck2000 is offline Senior Member
    Join Date
    Oct 2005
    Location
    Coeur d'Alene, ID
    Posts
    59
    Rep Power
    9

    Default

    >Removing this line:
    ><Context path="/" docBase="${catalina.home}/webapps/zimbra" debug="0" >crossContext="true"/>
    >from /opt/zimbra/tomcat/conf/server.xml and restarting tomcat might do it.

    I had done this before so that anyone who went to http://niei.icehouse.net got only a blank page, but if you went to http://niei.icehouse.net/zimbra you got the zimbra login.

    After the GA upgrade to my debian machine, I edited /opt/zimbra/tomcat/conf/server.xml and removed the line mentioned above. Then, as user zimbra, I restarted tomcat. The server.xml file is overwritten with a new server.xml file that contains the origianl line again. I tried removing the line, then as root, chmod 444 on the file, but it was over-written again and the permissions changed back to 644 after a restart of tomcat.

    I poked around in the tomcat file /opt/zimbra/bin/tomcat but I did not see where it might be overwriting the file from.

    Mike

  5. #5
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default rewrite of server.xml

    tomcat/conf/server.xml.in, perhaps?

  6. #6
    vpoorboy is offline Senior Member
    Join Date
    Oct 2005
    Posts
    67
    Rep Power
    9

    Default Tomcat 5.0 or Tomcat 5.5

    how about pre-configured server.xml for building ?
    I got 2 same file in different versions of Tomcat
    ./ZimbraServer/conf/tomcat-5.5/server.xml
    ./ZimbraServer/conf/tomcat-5.0/server.xml

  7. #7
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Your looking in the source. Those won't appear in the release build.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  8. #8
    vpoorboy is offline Senior Member
    Join Date
    Oct 2005
    Posts
    67
    Rep Power
    9

    Default

    Yes, I want to change it in the source (GA), then build it. But there're 2 versions of Tomcat that contains this file. Editing both of them is very easy, just want to know which version of Tomcat (5.0 or 5.5).

  9. #9
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    We use 5.5. now.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  10. #10
    rpozo is offline Starter Member
    Join Date
    Jul 2009
    Posts
    1
    Rep Power
    5

    Default this same problem with apache

    I installed zcs-5.0.16_GA_2921 for ubuntu, in this package i looking for server.xml or tomcat, but I think that in this package not exists.
    How could i change the login URL?
    Thanks!
    Last edited by rpozo; 07-13-2009 at 04:45 AM.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Replies: 31
    Last Post: 12-15-2007, 09:05 PM
  3. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM
  4. Replies: 16
    Last Post: 09-07-2006, 06:39 AM
  5. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •