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've started using this repacement to redirect() which works better for me: def redirect(redirect_path): if '://' in redirect_path: redirect_to = redirect_path else: redirect_to = config.get('base_url_filter.base_url', '') + \ config.get('server.webpath', '') + \ redirect_path raise cherrypy.HTTPRedirect(redirect_to) It may be specific to my case, but it handles proxied configurations better. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

