routes.example.py is an example of the pattern-based rewrite system, and router.example.py is an example of the parameter-based system (which specifies "routers" -- hence the filename). Maybe we should rename these to something like:
routes.pattern_example.py routes.parameter_example.py See http://web2py.com/books/default/chapter/29/4#URL-rewrite for details. Anthony On Sunday, January 15, 2012 8:14:55 AM UTC-5, Web2Py Freak wrote: > > Dear All , > > What is The deference between router.example and routes.example ?? > > and how can i use this : > > domains = { "domain.com" : "app", > "x.domain.com" : "appx", > },

