[opencms-dev] Problem with internal redirecting and SSL

Jonathan Woods jonathan.woods at scintillance.com
Mon Jul 3 14:04:03 CEST 2006


Jan -

If you're using Tomcat, you should also take a look at the host name
settings in server.xml, in the <Host>, <Connector> and <Engine> nodes.
Sorry I can't be more specific - in a hurry - but that's where I recently
solved a few redirection problems.

Jon

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jan Meier
Sent: 03 July 2006 11:19
To: opencms-dev at opencms.org
Subject: [opencms-dev] Problem with internal redirecting and SSL

Hello,

I am trying to secure my OpenCms workplace with SSL. Currently Apache is
serving the encrypted connection to the browser and redirects the request
via mod_proxy to tomcat. Everything works fine except that OpenCms does not
handle links correct. 
If I login into the workplace everything works quite well, except that if I
click on a file for editing I am redirected to http:// instead of https://,
that means I leave the encrypted connection. 
Another explample is the exit button, which has the link
https://hostname/system/login/index.html?logout=true
That's correct, but after the logout is done I am redirected to http://,
what can I do? I do not want to leave the encrypted connection. It seems
that the OpenCms internal does not detect the encrypted connection and
redirects wrong.

Regards
Jan

_______________________________________________
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