On 11/30/06, Matt Wilson <[EMAIL PROTECTED]> wrote:
>
> I'm connected remotely to my site, but when I log out, I get redirected
> to localhost, which isn't running a TG instance.
>
> Any ideas what I'm doing wrong?
>
> My logout controller hasn't been touched:
>
>     @expose()
>     def logout(self):
>         identity.current.logout()
>         raise redirect("/")
>

At a guess I would say that you're running your app behind apache via
mod_proxy or using mod_rewrite to proxy.

Make sure that you have the following in your prod.cfg (or dev.cfg if
you're still using that while testing your app):

base_url_filter.on = True
base_url_filter.use_x_forwarded_host = True

If that isn't the problem, a little more detail on your setup would be helpful.

Lee


-- 
Lee McFadden

blog: http://www.splee.co.uk
work: http://fireflisystems.com
skype: fireflisystems

--~--~---------~--~----~------------~-------~--~----~
 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