On more thing that I just discovered now: Issue http://jira.magnolia-cms.com/browse/MAGNOLIA-3291 is still not fixed!
When Magnolia caches a page, it does not include the protocol as key. So when your page X is called for the first time on http and it requires encryption, the filter will return a redirect message to the browser and this redirect message will be stored in the cache. The browser will then call the page X again on https but will keep getting a redirect message back from the cache :-( -will On 08.11.2011, at 16:06, Will Scheidegger wrote: > Hi Matt > > Thanks for pointing this out. Our filter looks very similar except that we > don't do a redirect based on the template but rather added a checkbox to the > page properties which triggers the redirect. > > -will > > On 08.11.2011, at 15:52, Dertinger, Matthew wrote: > >> Hi Bob and Will, >> >> Although I haven't used it myself, there is a wiki page with a filter that >> may help you. Here's the link: >> http://wiki.magnolia-cms.com/display/WIKI/Filter+for+redirect+between+HTTP+a >> nd+HTTPS >> >> HTH, >> Matt >> >> >>> From: Will Scheidegger <[email protected]> >>> Reply-To: Magnolia User-List <[email protected]> >>> Date: Tue, 8 Nov 2011 15:22:16 +0100 >>> To: Magnolia User-List <[email protected]> >>> Subject: Re: [magnolia-user] Re: Members Area SSL >>> >>> I don't know of any Magnolia filter which does this. We had to write our own >>> filter which does exactly what you describe below. The filter is not rocket >>> science. The only difficult part about it is to figure out where in the >>> filter >>> chain to place it ;-) >>> >>> When you play around with it: >>> - don't do it on the shared server > only do it on your local machine >>> - backup your Magnolia first >>> >>> Why? When you mess up the filter chain chances are that you won't even get >>> into AdminCentral anymore. >>> >>> -will >>> >>> >>> >>> On 08.11.2011, at 15:11, Magnolia Forums (on behalf of Bob Whitehouse) >>> wrote: >>> >>>> Never mind about the double protocol link. In a conversation with a >>>> co-worker, I found out that some experimenting was happening and the link >>>> was >>>> put in that way manually (still not sure why). >>>> >>>> So after setting up SSL with IIS is there any configuration that needs to >>>> happen in Magnolia other than redirecting the unencrypted url? I'm thinking >>>> it works something like this. If the call comes in as >>>> https://.../members.html things proceed normally. If it comes in as >>>> http://...member.html, Magnolia needs to be configured to catch it and >>>> redirect to https. If this is correct, does the redirect happen from a >>>> filter >>>> or a Magnolia property or some other mechanism? >>>> >>>> Thanks, Bob >>>> >>>> -- >>>> Context is everything: >>>> http://forum.magnolia-cms.com/forum/thread.html?threadId=94576a77-b879-4c68-b >>>> 5af-b648232647ed >>>> >>>> >>>> ---------------------------------------------------------------- >>>> For list details, see >>>> http://www.magnolia-cms.com/community/mailing-lists.html >>>> Alternatively, use our forums: http://forum.magnolia-cms.com/ >>>> To unsubscribe, E-mail to: <[email protected]> >>>> ---------------------------------------------------------------- >>>> >>> >>> >>> >>> ---------------------------------------------------------------- >>> For list details, see >>> http://www.magnolia-cms.com/community/mailing-lists.html >>> Alternatively, use our forums: http://forum.magnolia-cms.com/ >>> To unsubscribe, E-mail to: <[email protected]> >>> ---------------------------------------------------------------- >>> >> >> >> >> ---------------------------------------------------------------- >> For list details, see >> http://www.magnolia-cms.com/community/mailing-lists.html >> Alternatively, use our forums: http://forum.magnolia-cms.com/ >> To unsubscribe, E-mail to: <[email protected]> >> ---------------------------------------------------------------- >> > > > > ---------------------------------------------------------------- > For list details, see http://www.magnolia-cms.com/community/mailing-lists.html > Alternatively, use our forums: http://forum.magnolia-cms.com/ > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
