This may do it
routes_in=[('/(?P<anything>\w+)','/myapp/page/$anything')]
On Feb 7, 12:05 am, weheh <[email protected]> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.