routes.py is the way to do it it's a standard file of web2py
On 16 juin, 20:36, Michelle Jun <michellejun...@gmail.com> wrote: > hi > > i am wondering if i can do these things > > for example, i have list of businesses url links (this is generated > from my web2py default) > > http://domain.com/default/business/8http://domain.com/default/business/9http://domain.com/default/business/10http://domain.com/default/business/11http://domain.com/default/business/12http://domain.com/default/business/13http://domain.com/default/business/14http://domain.com/default/business/15 > etc... > > is it possible that i rewrite this to become just > > http://domain.com/8http://domain.com/9http://domain.com/10http://domain.com/11http://domain.com/12http://domain.com/13 > etc.. > > is there anyway to do it within web2py or is it something that i have > to do it within apache mod_rewrite? any idea on how to do that? > > thank you