Add localpath var to router.py to allow it to run from a subdirectory instead of the virtualhost root
Minor change, something like this:
LOCALPATH = '/uweb'
ROUTES = ((LOCALPATH + '/', 'Index'),
(LOCALPATH + '/test', 'Test'),
(LOCALPATH + '/(.*)', 'FourOhFour'))
This might simplify installations/configuration of pages which require no customization of available routes.
#1 Updated by Elmer de Looff over 6 years ago
This is resolved in r337
There is now a configurable route prefix. In the router file, defining
ROUTE_PREFIX sets this common prefix for all routes. This prefix is placed in front of all routes verbatim, any slashes required to separate paths must be added manually.