Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-12-2008, 01:30 AM
Loyal Member
 
Posts: 79
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
Reply With Quote
  #2 (permalink)  
Old 06-12-2008, 03:01 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

CLI zmtlsctl to set Web Server Mode - Zimbra :: Wiki
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 06-12-2008, 02:10 PM
Loyal Member
 
Posts: 79
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
Reply With Quote
  #4 (permalink)  
Old 06-12-2008, 03:07 PM
y@w y@w is offline
Moderator
 
Posts: 658
Default

Is this what you're looking for?

Using Tomcat with Apache (mod jk) - Zimbra :: Wiki
__________________
What a n00b!
Reply With Quote
  #5 (permalink)  
Old 06-12-2008, 09:33 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
  #6 (permalink)  
Old 06-13-2008, 01:33 AM
Loyal Member
 
Posts: 79
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
Reply With Quote
  #7 (permalink)  
Old 06-16-2008, 11:51 PM
Loyal Member
 
Posts: 79
Default

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

/K
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.