Change the Base URL of a Pylons App with Middleware - Recent Activity Subscribe

Show: Turn New Off Turn Edits Off Turn Ratings Off Turn Comments Off
03 April 2009 1
Edit David Isaacson edited the Python snippet “Change the Base URL of a Pylons App with Middleware
3 April 2009 at 11:32 AM
David Isaacson posted the Python snippet “Change the Base URL of a Pylons App with Middleware
3 April 2009 at 11:31 AM
This middleware wraps a Pylons app expecting to be called with a base of '/'. This code lets you specify a base path instead. If requests match the base path, it is stripped off and the modified... more