Chris Miles <[EMAIL PROTECTED]> writes:

> I'm proxying my TG app behind Apache HTTPS with the rule:
>
>   RewriteRule ^/myapp/(.*) http://127.0.0.1:8080/$1 [L,P]
>
> so the app exists on the public side under the root path /myapp/.
>
> So I configure TG with:
>
>   server.webpath="/myapp"
>   base_url_filter.on = True
>   base_url_filter.base_url = "https://my.domain.com";
>
> (yes it is proxied behind SSL)
>
> With this setup, turbogears.redirect() does not behave properly for
> me.  It nearly does the right thing, but drops "https" back to "http".

I don't use mod_rewrite, but with mod_proxy you don't have such a
problem.  All my critical applications are deployed behind HTTPS and
I've never had to change anything.

Have you tried using it instead of mod_rewrite?


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to