Results 1 to 7 of 7

Thread: Problem with installation

  1. #1
    Join Date
    Jan 2008
    Posts
    79
    Rep Power
    7

    Default Problem with installation

    Hi guys!

    I've been trying to get my Zimbra installation working for a while now but I can't get it to do what I want. What I want is to have Zimbra run on my server only over https and on it's own sub-domain. All other http/https connections on the server should be served by apache.

    I've tried with both nginx and apache-proxying and both initially seems to work. However after logging in Zimbra redirects me to http, which is being served by apache. If I manually type https://domain.tld I'll get Zimbra (as my successful login is remebered) but that is not really an elegant solution. It also breaks when loggin out, etc.

    How can I get Zimbra to stop redirecting me to http???

    /Kallisti

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

  3. #3
    Join Date
    Jan 2008
    Posts
    79
    Rep Power
    7

    Default

    Thanks for your answer phoenix!

    Didn't work though.. I wiped my installation and reinstalled 5.0.6 using the proxy-setting. Then I tried zmtlsctl with http, https, both, mixed. Mixed doesn't work (as the instructions say), https doesn't work either (502 Bad Gateway both on http and https), http obviously doesn't do what I want but not what I expect either. I get a login page even on https but when logging in it redirects me to http. The same thing with both, redirection from https to http.

    I'm really stumped here, especially that http gives a login page on https.. And mostly that https won't keep me in https! Or have I misunderstood the proxying or the combitaion with zmtlsctl? Any other tips?

    /K

  4. #4
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by Kallisti View Post
    Or have I misunderstood the proxying or the combitaion with zmtlsctl? Any other tips?
    You don't need the proxy for a single server install (I assume that's what you have0, run the following commands:

    Check to see if the proxy is installed/running:

    Code:
    zmproxyctl status
    zmprov gs server.domain.com | grep zimbraServiceEnabled
    zmprov gs server.domain.com | grep zimbraServiceInstalled
    
    If it's in, then run this:
    
    zmproxyctl stop
    zmprov ms server.domain.com -zimbraServiceEnabled imapproxy
    zmcontrol stop
    zmcontrol start
    To reset the ports run the following (on one line):

    Code:
    zmprov -l ms server.domain.com zimbraPop3BindPort 110 zimbraPop3SSLBindPort 995 zimbraPop3ProxyBindPort 7110 zimbraPop3SSLProxyBindPort 7995 zimbraImapBindPort 143 zimbraImapSSLBindPort 993 zimbraImapProxyBindPort 7143 zimbraImapSSLProxyBindPort 7993
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    Join Date
    Jan 2008
    Posts
    79
    Rep Power
    7

    Default

    You're right phoenix, it's a single server install. What I want it to do is to run Zimbra over https on it's own sub-domain while everything else is served by apache. so https://z.domain.tld goes to Zimbra while http://www.domain.tld, https://www.domain.tld etc goes to apache. I thought I needed either nginex or apache reverse proxying to get that setup so I am certain that I have proxy enabled.

    Is there another better way to get what I want? Or is it impossible perhaps?

    Code:
                        Zimbra
               https://z.domain.tld
                        /  
    User ----> |proxy| <
                        \
             http(s)://everything else
           Apache/other web services
    thanks also y@w, I've tried proxying with apache and jetty (not tomcat) but it's the same as with nginex, and I would prefer configuration rather than customization for future compatibility!

    /K

  7. #7
    Join Date
    Jan 2008
    Posts
    79
    Rep Power
    7

    Default

    If no one can think of anything else I could try, do you think I should file a bug?

    /K

Similar Threads

  1. Replies: 7
    Last Post: 01-20-2009, 11:48 PM
  2. INSTALLATION PROBLEM ON Centos 4.3 x_86-64Bit.
    By jawad@cogilent.com in forum Installation
    Replies: 11
    Last Post: 07-09-2007, 08:09 AM
  3. Problem with Ubuntu installation
    By Max Ma in forum Installation
    Replies: 3
    Last Post: 04-13-2007, 10:25 AM
  4. Installation problem
    By sywong70 in forum Installation
    Replies: 5
    Last Post: 11-07-2005, 08:01 PM
  5. Installation problem
    By charlie in forum Administrators
    Replies: 1
    Last Post: 10-14-2005, 08:55 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
  •