routes_in ('^/admin(?P<any>.*)', '/admin\g<any>'), ('^/appadmin(?P<any>.*)', '/init/appadmin\g<any>'), ('^/(?P<any>.*)', '/init/default/\g<any>'),
routes_out ('/init/appadmin(?P<any>.*)', '/appadmin\g<any>'), ('/init/default(?P<any>.*)', '/default\g<any>'), -Thadeus On Fri, Jan 29, 2010 at 11:24 AM, Jonathan Lundell <jlund...@pobox.com> wrote: > >> Setting up the WSGI handler is easy, however routes.py gives me a hard >> time. I tried a bunch of versions, but none seemed to work. >> >> Can someone help out? This should be really easy, but it isn't! > > One thing that might help: I added a doctest section to routes.example.py. > The intention is that you can use it to see what your modified routes.py is > actually doing (you need to edit the doctest accordingly, of course). > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.