If you follow web2py's URL mapping:

http://host:port/app/ctl/fct/arg1/arg2/arg3/...?var1=value1&var2=value2,...

then request.args=['arg1','arg2','arg3',...]
and request.vars={'var1':'value1','var2':'value2',...}



On Apr 16, 2:50 am, Italo Maia <italo.m...@gmail.com> wrote:
> I was trying to make one of those fancy url behaviors where the name
> of the url actually has some meaning. Well, i was trying to create a
> blog and wanted to have this kind of url to be valid:
>
> http://site.com/blog/blog-name/year/month/day/id/
>
> would be valid and the parameters blog-name, year, month, day and id
> would be avaiable in the controller. How could i do that?
--~--~---------~--~----~------------~-------~--~----~
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