Any ideas what I'm doing wrong?
My logout controller hasn't been touched:
@expose()
def logout(self):
identity.current.logout()
raise redirect("/")
Matt
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
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