Redirect http to https: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Modify the file: /opt/zimbra/tomcat/webapps/zimbra/public/Login.jsp | Modify the file: /opt/zimbra/tomcat/webapps/zimbra/public/Login.jsp<br> | ||
so that you change all occurrences of : | so that you change all occurrences of:<br> | ||
<br> | |||
initMode=" + currentProto | initMode=" + currentProto<br> | ||
to | to<br> | ||
initMode=https" | '''initMode=https"'''<br> | ||
<br> | |||
Only 3-5 lines will need to be changed in all. Below is an example of 3 lines (112, 113, 123) you will need to change | Only 3-5 lines will need to be changed in all. Below is an example of 3 lines (112, 113, 123) you will need to change<br> | ||
<br> | |||
---- | ---- | ||
org line 112> qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" +<br> | |||
org line 112> qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + | org line 113> currentProto;<br> | ||
org line 113> currentProto; | new line 112> qs = emptyQs? "?initMode=https": qs + "&initMode=https";<br> | ||
new line 112> qs = emptyQs? "?initMode=https": qs + "&initMode=https"; | |||
new line 113> | new line 113> | ||
org line 123> qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + currentProto; | org line 123> qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + currentProto;<br> | ||
new line 123> qs = emptyQs? "?initMode=https": qs + "&initMode=https"; | new line 123> qs = emptyQs? "?initMode=https": qs + "&initMode=https";<br> | ||
---- | ---- |
Revision as of 17:40, 15 June 2006
Modify the file: /opt/zimbra/tomcat/webapps/zimbra/public/Login.jsp
so that you change all occurrences of:
initMode=" + currentProto
to
initMode=https"
Only 3-5 lines will need to be changed in all. Below is an example of 3 lines (112, 113, 123) you will need to change
org line 112> qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" +
org line 113> currentProto;
new line 112> qs = emptyQs? "?initMode=https": qs + "&initMode=https";
new line 113>
org line 123> qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + currentProto;
new line 123> qs = emptyQs? "?initMode=https": qs + "&initMode=https";