Aha! My mistake. $a should have been $anything everywhere in the code. I fixed is and re-posted in trunk now under scripts/autoroutes.py
Massimo On Oct 24, 10:51 pm, VP <vtp2...@gmail.com> wrote: > Update: > > if the function has no arguments, it works. I.e. > http://domain.com/app/default/f > gets mapped correctly tohttp://domain.com/f > > But if the function has arguments, it did not work for me. > I.ehttp://domain.com/app/default/g/a/bdoes not get mapped > tohttp://domain.com/g/a/b > > PS: > I got the script from > here:http://web2py.googlecode.com/hg/scripts/autoroutes.py > as far as I can tell, it's the same as the one in this this thread.