[web2py] Re: routes.py SUCKS [or not]

2010-02-01 Thread Tamas
Sorry for the late reply, but it does not work still. Here are my settings: routes_in=[ ('/w2p/', '/myapp/default/index/'), ('/w2p/(?Pa.*)$','/ \ga')] routes_out=[('/(?Pa.*)$','/w2p/\ga')] I still get unknown ticket on plain /w2p/ On Jan 29, 9:31 pm, mdipierro mdipie...@cs.depaul.edu wrote:

[web2py] Re: routes.py SUCKS

2010-01-29 Thread mdipierro
routes_in=[('/w2p/$anything','/$anything')] routes_out=[('/$anything','/w2p/$anything')] On Jan 29, 11:17 am, Tamas tma...@gmail.com wrote: Hello, I would like to tackle the simple task of running web2py on a folder of the website, say http://example.org/w2p/ So that an application will

[web2py] Re: routes.py SUCKS

2010-01-29 Thread Tamas
Thanks, based on your suggestion this works: routes_in=[('/w2p/(?Pa.*)$','/\ga')] routes_out=[('/(?Pa.*)$','/w2p/\ga')] However, I still have the problem of getting an unknown ticket for plain /w2p/ (default apps are not installed), how can I specify which application should it go by default?

[web2py] Re: routes.py SUCKS [or not]

2010-01-29 Thread mdipierro
Because your app is not called 'init' and we assumed it was. This will fix it. routes_in=[('/w2p/?','/youappname'),('/w2p/$anything','/$anything')] routes_out=[('/$anything','/w2p/$anything')] On Jan 29, 11:41 am, Tamas tma...@gmail.com wrote: Thanks, based on your suggestion this works:

[web2py] Re: routes.py SUCKS [or not]

2010-01-29 Thread Tamas
Hi, I tried routes_in=[ ('/w2p/?', '/myapp'), ('/w2p/(?Pa.*)$','/\ga')] but it does not work, I still get the unknown ticket. On Jan 29, 6:46 pm, mdipierro mdipie...@cs.depaul.edu wrote: Because your app is not called 'init' and we assumed it was. This will fix it.

[web2py] Re: routes.py SUCKS [or not]

2010-01-29 Thread mdipierro
what is the URL you see in your browser when you get the error? what is your app name? On Jan 29, 11:50 am, Tamas tma...@gmail.com wrote: Hi, I tried routes_in=[ ('/w2p/?', '/myapp'), ('/w2p/(?Pa.*)$','/\ga')] but it does not work, I still get the unknown ticket. On Jan 29, 6:46 pm,

[web2py] Re: routes.py SUCKS [or not]

2010-01-29 Thread Tamas
The URL is http://example.com/w2p/ the app's name is myapp apparently. On Jan 29, 6:53 pm, mdipierro mdipie...@cs.depaul.edu wrote: what is the URL you see in your browser when you get the error? what is your app name? On Jan 29, 11:50 am, Tamas tma...@gmail.com wrote: Hi, I tried

[web2py] Re: routes.py SUCKS [or not]

2010-01-29 Thread mdipierro
This route alone routes_in=[ ('/w2p/', '/myapp/default/index')] should map that url into /myapp/default/index. does it work? On Jan 29, 12:01 pm, Tamas tma...@gmail.com wrote: The URL ishttp://example.com/w2p/the app's name is myapp apparently. On Jan 29, 6:53 pm, mdipierro