In routes.py

routes_in = (('/$arg','/yourapp/somecontroller/someaction/$args'),)

routes_out= ('/yourapp/somecontroller/someaction/$args', '/$args'),)




On Apr 16, 10:07 am, Michal Jursa <mic...@jursa.cz> wrote:
> Is is possible to make somethink like:
>
> http://my_site/my_page??
>
> Where 'my_page' will be already request.args[0] for some controller?
> Trying to figure this, but no luck. Further i'd like to redirect to
> another controller if 'my_page' doesn't exist, but this i can solve i
> think.
>
> Michal
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@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