[web2py] Re: need help with routes regex

2010-02-06 Thread mdipierro
This may do it routes_in=[('/(?P\w+)','/myapp/page/$anything')] On Feb 7, 12:05 am, weheh wrote: > I'm serving up a bunch of pages via a crm-like function that makes for > url's that look like this: > > http://mydomain.com/myapp/page/index/page_name > > and I want to reduce this to: > > http://m

Re: [web2py] Re: need help with routes regex

2010-02-06 Thread Thadeus Burgess
This works, unless you have more than one controller. I found the following slice has been updated, perhaps this could be adapted. http://www.web2pyslices.com/main/slices/take_slice/41 The downside is that it still requires adding each controller that you create to be added to the list. Is ther