I have an app, and running with the development server, all works
fine. I use frequently a redirect - for example, gating entry to a
protected part by redirecting to '/login' if they are not logged in.

when I start the app with fastcgi (ie, ./code.py fastcgi 8080), using
nginx (fastcgi_pass 127.0.0.1:8080), all the redirects seem to be
ignoring the '/' at the beginning.

this means, when someone tries to access '/protected' they are
redirected to '/protected/login' which naturally does not exist. if
they manually type in '/login' and log in, instead of being redirected
to '/protected' they are redirected to '/login/protected'

this is obviously wrong. why is this happening, and any ideas how to
fix it?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to