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

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
  #11 (permalink)  
Old 03-08-2006, 03:33 PM
Zimbra Employee
 
Posts: 4,792
Default

Maybe that only catches https on port 80. So if you tried:

https://server:80/

Seems like some more searching is in place to get this to redirect http requests to 80.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #12 (permalink)  
Old 03-09-2006, 09:20 AM
Junior Member
 
Posts: 5
Default

After a lot of fiddling with server.xml and Login.jsp I've given up for now... I'll dig deeper into that when I find the time.
Reply With Quote
  #13 (permalink)  
Old 03-13-2006, 03:31 AM
Junior Member
 
Posts: 5
Default

After all, it's not that hard... I had to change very few lines in ~zimbra/tomcat/webapps/zimbra/public/Login.jsp
Here's a diff - left=old, right=new:

Code:
112,113c112
<                       qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + 
<                       currentProto;
---
>                       qs = emptyQs? "?initMode=https": qs + "&initMode=https"; 
123c122
<               qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + currentProto;
---
>               qs = emptyQs? "?initMode=https": qs + "&initMode=https";
That does the trick for me. Basically, I just changed all occurrences of

initMode=" + currentProto

to

initMode=https"

Last edited by Kevin Krause; 03-13-2006 at 03:36 AM.. Reason: Typo
Reply With Quote
  #14 (permalink)  
Old 03-13-2006, 11:17 AM
Zimbra Employee
 
Posts: 4,792
Default

Kevin, Can you post this to bugzilla with your reasons to change it. IT can then be considered for a future release.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #15 (permalink)  
Old 03-17-2006, 01:45 PM
Project Contributor
 
Posts: 88
Default Redirects to https port

My setup redirects automatically. I think this has been fairly consistent over the last few releases too.

Could there be a firewall blocking port 80 access to your machine?
Reply With Quote
  #16 (permalink)  
Old 05-10-2006, 12:39 PM
Senior Member
 
Posts: 73
Default

u mean zmtlsctl mixed ?

thanks


Quote:
Originally Posted by jonnyRo
My setup redirects automatically. I think this has been fairly consistent over the last few releases too.

Could there be a firewall blocking port 80 access to your machine?

Last edited by zzzzsg; 05-10-2006 at 12:53 PM..
Reply With Quote
  #17 (permalink)  
Old 08-26-2009, 11:11 AM
Intermediate Member
 
Posts: 16
Default

"zmtlsctl redirect" worked for me.
Reply With Quote
  #18 (permalink)  
Old 10-01-2009, 11:00 AM
Active Member
 
Posts: 30
Default

I would like to force redirects to SSL for the same reasons as the OP. But at this point, my problem is more basic.

Out of the box open source Zimbra install yesterday, which went fine. First time using Zimbra. I was VERY surprised that the webmail user login was via port 80. Assumed that it would be via SSL.

I'm getting no response from https at all. Looks like it's just not running. The admin console (port 7071) works correctly via https.

Is the web server using something other than 443 for user login SSL and if so, what port? (and why not 443?)

TIA
Reply With Quote
  #19 (permalink)  
Old 10-01-2009, 11:13 AM
Intermediate Member
 
Posts: 16
Default

Check your firewall settings.. Make sure there is a rule allowing 443
Reply With Quote
  #20 (permalink)  
Old 10-01-2009, 11:18 AM
Active Member
 
Posts: 30
Default

Thanks for the response. I allow everything from localhost and from my console PC. There is a rule allowing 443 but the connect request is accepted by iptables long before it gets there.

[root@security network-scripts]# telnet localhost 443
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
[root@security network-scripts]# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.
[root@security network-scripts]#
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.