[web2py] routes.py SUCKS

2010-01-29 Thread Tamas
Hello, I would like to tackle the simple task of running web2py on a folder of the website, say http://example.org/w2p/ So that an application will be like http://example.org/w2p/example/default/index Setting up the WSGI handler is easy, however routes.py gives me a hard time. I tried a bunch

Re: [web2py] routes.py SUCKS

2010-01-29 Thread Jonathan Lundell
On Jan 29, 2010, at 9:17 AM, Tamas wrote: I would like to tackle the simple task of running web2py on a folder of the website, say http://example.org/w2p/ So that an application will be like http://example.org/w2p/example/default/index Setting up the WSGI handler is easy, however

Re: [web2py] routes.py SUCKS

2010-01-29 Thread Thadeus Burgess
routes_in ('^/admin(?Pany.*)', '/admin\gany'), ('^/appadmin(?Pany.*)', '/init/appadmin\gany'), ('^/(?Pany.*)', '/init/default/\gany'), routes_out ('/init/appadmin(?Pany.*)', '/appadmin\gany'), ('/init/default(?Pany.*)', '/default\gany'), -Thadeus