<div dir="ltr"><div class="gmail_extra"><div><div dir="ltr"><div style="font-family:arial;font-size:small">Hi,<p style="color:rgb(34,34,34)"><span style="color:rgb(11,83,148)"><b></b></span><font> </font></p><font size="1"></font></div>
<div style="font-family:arial;font-size:small">you shall use an apache rewrite rule in your vhost to bump the user to the login page:</div><div style="font-family:arial;font-size:small"><br></div><div>RewriteRule ^/system/login.* https://<workplaceserver>/system/login/ [L,R]    <br>
</div><div><br></div><div>See also page 36 here:</div><div><br></div><div><a href="http://ow.ly/uFzGk">http://ow.ly/uFzGk</a></div><div><br></div><div>Kind Regards,</div><div>Arash</div><div><br></div></div></div><br><div class="gmail_quote">
On Fri, Apr 11, 2014 at 2:53 PM, Paul-Inge Flakstad <span dir="ltr"><<a href="mailto:flakstad@npolar.no" target="_blank">flakstad@npolar.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="NO-BOK" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I’d like to force HTTPS for workplace login / communication. Is there an easy way?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">According to the wiki (<a href="http://www.opencms-wiki.org/wiki/Enforcing_SSL_Encryption_for_the_Opencms_workplace" target="_blank">http://www.opencms-wiki.org/wiki/Enforcing_SSL_Encryption_for_the_Opencms_workplace</a> ), “somebody [who] tries to access the workplace using an unsafe connection, [...] will be automatically redirected to the secured connection”.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Well, not so in my case – I can access the workplace login using *both* HTTP and HTTPS, no HTTP -> HTTPS redirect.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">OpenCms is 7.5.2. I’ve got Apache in front.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Cheers,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Paul</span><span style="font-size:8pt;color:rgb(54,95,145)"><u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p>
</div></div><br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br></div></div>