Redirect http to https: Difference between revisions
(removing spam) |
No edit summary |
||
Line 1: | Line 1: | ||
''N.B. If you just want to force authentication to occur over https, use [[zmtlsctl]].'' | |||
to | |||
==Edit Login.jps== | |||
- | In the file '''/opt/zimbra/tomcat/webapps/zimbra/public/Login.jsp''', comment out this statement: | ||
qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + | |||
currentProto; | |||
So that it looks like this: | |||
//qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + | |||
//currentProto; | |||
==Set mixed mode== | |||
su - zimbra | |||
zmtlsctl mixed | |||
tomcat restart |
Revision as of 00:05, 21 January 2007
N.B. If you just want to force authentication to occur over https, use zmtlsctl.
Edit Login.jps
In the file /opt/zimbra/tomcat/webapps/zimbra/public/Login.jsp, comment out this statement:
qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + currentProto;
So that it looks like this:
//qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + //currentProto;
Set mixed mode
su - zimbra zmtlsctl mixed tomcat restart