Re: [web2py] a problem with routes.py

2010-06-25 Thread Álvaro Justen
On Fri, Jun 25, 2010 at 09:40, ilovesss2004 wrote: > Hi, > Here is code of my routes.py > > routes_in = (('/', '/myapp/default/index'), >            ) > > routes_out = (('/myapp/default/index', '/'), >            ) > > When I enter 127.0.0.1:8000 in browser, myapp do show but the ajax > function d

Re: [web2py] a problem with routes.py

2010-06-25 Thread Jonathan Lundell
On Jun 25, 2010, at 5:40 AM, ilovesss2004 wrote: > Here is code of my routes.py > > routes_in = (('/', '/myapp/default/index'), >) > > routes_out = (('/myapp/default/index', '/'), >) > > When I enter 127.0.0.1:8000 in browser, myapp do show but the ajax > function does't

Re: [web2py] a problem with routes.py

2010-06-25 Thread Vasile Ermicioi
what happens if you delete routes_out ?

[web2py] a problem with routes.py

2010-06-25 Thread ilovesss2004
Hi, Here is code of my routes.py routes_in = (('/', '/myapp/default/index'), ) routes_out = (('/myapp/default/index', '/'), ) When I enter 127.0.0.1:8000 in browser, myapp do show but the ajax function does't work. I must enter 127.0.0.1:8000/myapp/default/index in browse