[opencms-dev] Delivering site with http and https

] Code Create [ Bernd Wolfsegger ocms at code-create.de
Mon Jan 3 13:37:23 CET 2011


Hi Florian,

perhaps I don't understand your problem correctly, but if you use relative
links only on your site and no base href to some http, you should stay https
if you are on a https page with relative links on it.
That’s completely independent from Opencms.

Kind regards, Bernd

> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-
> bounces at opencms.org] Im Auftrag von Florian Hopf
> Gesendet: Montag, 3. Januar 2011 12:05
> An: The OpenCms mailing list
> Betreff: [opencms-dev] Delivering site with http and https
> 
> Hi,
> 
> I'd like to deliver a site using http but when a user logs in it should
> switch to https and stay on https. What's the best way of doing this?
> 
> I tried setting my login jsp as a secure resource and added the https
> server as alias. The login works ok but when I navigate to a resource
> that is not marked as secure it switches back to http and the login is
> lost as the cookie is only valid for https.
> 
> Is it possible to do something like this using the OpenCms mechanisms?
> 
> Regards
> Florian
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list