> > 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.
I was getting redirect to *my* local host when I put my rewrite rules in
without [P] at the end. If you do not have mod_proxy enabled in apache,
you'll need to do so or the rule with [P] will just fail with no clue as
to why. I also discovered that I had to remove the Multiviews option in
my apache directory directive to stop .html getting pasted on to the end
of my rewrite.
Iain
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---