Can't you just use the parameter-based router and set "default" as the default controller and "r" as the default function (which requires you to specify "functions" with the list of all functions in default.py)?
Anthony On Sunday, December 7, 2014 4:32:45 AM UTC-5, Encompass solutions wrote: > > I want to have a URL like this: http://127.0.0.1:8000/34D7-638C > Obviously the base URL changes. > I want to make it so I can check if there is a "-" in the string, if so, > then I know to run a certian method with that string as the argument. Is > this possible with routing? > right now I have to do: http://base_example.com/default/r/34D7-638C and I > should be able to take out the default/r/ I am pretty sure if it, just > don't know how. > > BR, > Jason Brower > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

