This may do it

routes_in=[('/(?P<anything>\w+)','/myapp/page/$anything')]

On Feb 7, 12:05 am, weheh <richard_gor...@verizon.net> 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://mydomain.com/page_name
>
> Anybody know a simple routes.py that'll do that? I've tried a bunch of
> things but I'm stumped. Thx.

-- 
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.

Reply via email to