Redirect http to https: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
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 | ||
---- | |||
---- | |||
org line 112> qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + | org line 112> qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + | ||
org line 113> currentProto; | org line 113> currentProto; | ||
Line 15: | Line 17: | ||
org line 123> qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + currentProto; | org line 123> qs = emptyQs? "?initMode=" + currentProto: qs + "&initMode=" + currentProto; | ||
new line 123> qs = emptyQs? "?initMode=https": qs + "&initMode=https"; | new line 123> qs = emptyQs? "?initMode=https": qs + "&initMode=https"; | ||
---- |
Revision as of 17:39, 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";