On Jun 16, 2010, at 11:36 AM, Michelle Jun wrote:

> 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/8
> http://domain.com/default/business/9
> http://domain.com/default/business/10
> http://domain.com/default/business/11
> http://domain.com/default/business/12
> http://domain.com/default/business/13
> http://domain.com/default/business/14
> http://domain.com/default/business/15
> etc...
> 
> is it possible that i rewrite this to become just
> 
> http://domain.com/8
> http://domain.com/9
> http://domain.com/10
> http://domain.com/11
> http://domain.com/12
> http://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?

What are the other URLs that you need to be able to handle? Or do all your URLs 
look like the ones above?

Reply via email to