[Zope] SSL Redirect for CookieCrumbler
Dieter Maurer
dieter at handshake.de
Fri Jun 16 14:24:09 EDT 2006
Josef Meile wrote at 2006-6-16 12:54 +0200:
>I need to redirect all my http requests to the login_form of the
>CookieCrumble to https, so, I wrote this rule in apache:
>
>RewriteRule ^/login/login_form(.*) https://server/login/login_form$1 [NE,L]
>
>It authenticates me through ssl, but then it cames back to http. I saw that
>the problem is that the came_from variable refers to the original http
>request; something like this:
>
>https://server/login/login_form?came_from=http%3A//server/page&retry=&disabl
>e_cookie_login__=1
>
>Is there any way of writing something like this in apache?
You rewrite "came_from" in your login form to use "https"...
--
Dieter
More information about the Zope
mailing list