I think there is a deeper element to this question. The problem is when you want a website that has some pages to be served under HTTP and others under HTTPS. If you have apache sitting in front of Tomcat you can create re-write rules that automatically redirect to HTTPS when requesting secure URLs. For example, everything under /member/ to be served as HTTPS.
However, there are inefficiencies with having to do redirects every time you want to switch between HTTP and HTTPS. Struts has an extension that solves this http://sslext.sourceforge.net/. I've used it before and it works really well. What would be really nice is if you could configure particular pages to served as HTTPS only using the admin console. Magnolia would the correctly render any links to those pages as HTTPS to avoid redirects. Has anyone tried that before or done something similar? Cheers, Brent From: [email protected] [mailto:[email protected]] On Behalf Of Frank Sommer Sent: Tuesday, 5 January 2010 7:17 PM To: Magnolia User-List Subject: Re: [magnolia-user] https with magnolia Hello Daniel, you can run magnolia with https. You need nothing to do in Magnolia. You have to configure your application server, e.g. tomcat (server.xml), like: ... <Connector port="8443" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" debug="0" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystorePass="test" /> ... Kind regards Frank ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
