Re: [web2py] Re: tip of the day. The power of routes

2014-07-06 Thread Nguyen Minh Tuan
Hi Lyn2py, can you send your script? On 5 July 2014 14:33, lyn2py wrote: > Hi Tuan, > > I tried the change (line in red) but it couldn't route to my app properly. > I'm not familiar with the regex routes, so I'm using it as-is. I don't know > how to troubleshoot this. > > > > On Friday, July 4,

Re: [web2py] Re: tip of the day. The power of routes

2014-07-05 Thread lyn2py
Hi Tuan, I tried the change (line in red) but it couldn't route to my app properly. I'm not familiar with the regex routes, so I'm using it as-is. I don't know how to troubleshoot this. On Friday, July 4, 2014 9:59:37 AM UTC+8, Nguyen Minh Tuan wrote: > > Hi Massimo, > > Lyn2py posted above

Re: [web2py] Re: tip of the day. The power of routes

2014-07-04 Thread lyn2py
Hi Tuan I will try your modification when I get back to my terminal and post back on the results. -- 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 re

Re: [web2py] Re: tip of the day. The power of routes

2014-07-03 Thread Nguyen Minh Tuan
Hi Massimo, Lyn2py posted above is that issue I met, I post complete script : (I mark the only one line I changed with red color) -- routes.py --- config = ''' site1.com.vn /hhp/default site2.com.vn /welcome/default ''' def auto_in(apps): routes = [

Re: [web2py] Re: tip of the day. The power of routes

2011-02-17 Thread Bruno Rocha
jqgrig, plugin_wiki or any other plugin which has a controller can't work with this autoroutes, because in autotoures we define a default controller in this case 'default.py' is the controller. any request with ' domain.com/action' will try to find this action inside default.py, but plugin_wiki and

Re: [web2py] Re: tip of the day. The power of routes

2011-02-16 Thread Johann Spies
On 16 February 2011 17:35, Bruno Rocha wrote: > Thats my working solution > > http://snipt.net/rochacbruno/routespy/ > > http://snipt.net/rochacbruno/routesconf/ > > > Thanks. It is about the same as mine. I was just wondering whether my jqgrid-problem (another thread) on my production server wa

Re: [web2py] Re: tip of the day. The power of routes

2011-02-16 Thread Bruno Rocha
Thats my working solution http://snipt.net/rochacbruno/routespy/ http://snipt.net/rochacbruno/routesconf/ -- Bruno Rocha http://about.me/rochacbruno/bio 2011/2/16 Johann Spies > > > On 29 November 2010 01:03, Bruno Rocha wrote: > >> HI, I am trying

Re: [web2py] Re: tip of the day. The power of routes

2011-02-16 Thread Johann Spies
On 29 November 2010 01:03, Bruno Rocha wrote: > HI, I am trying to use autoroutes for the firsttime, what I want is my site > running in 127.0.0.1:8080/index instead of 127.0.0.1/app/default/index. > > I tried the autoroutes and routes.conf explained here but i did't figure > out how to make the

Re: [web2py] Re: tip of the day. The power of routes

2010-11-28 Thread Bruno Rocha
HI, I am trying to use autoroutes for the firsttime, what I want is my site running in 127.0.0.1:8080/index instead of 127.0.0.1/app/default/index. I tried the autoroutes and routes.conf explained here but i did't figure out how to make the access to static files to work. I am using web2py 1.89.5

Re: [web2py] Re: tip of the day. The power of routes

2010-10-18 Thread Michele Comitini
WoW :D 2010/10/18 Albert Abril : > Wow! Thank you Massimo. > Just now I was having that problem. > > On Mon, Oct 18, 2010 at 9:01 AM, Tom Atkins wrote: >> >> Fantastic - thanks Massimo.  That is extremely useful - my regex skills >> are pretty poor but this really helps with getting to grips with

Re: [web2py] Re: tip of the day. The power of routes

2010-10-18 Thread Albert Abril
Wow! Thank you Massimo. Just now I was having that problem. On Mon, Oct 18, 2010 at 9:01 AM, Tom Atkins wrote: > Fantastic - thanks Massimo. That is extremely useful - my regex skills are > pretty poor but this really helps with getting to grips with routes.py. > > Love the 'tips of the day' -

Re: [web2py] Re: tip of the day. The power of routes

2010-10-18 Thread Tom Atkins
Fantastic - thanks Massimo. That is extremely useful - my regex skills are pretty poor but this really helps with getting to grips with routes.py. Love the 'tips of the day' - keep 'em coming! On 18 October 2010 03:07, mdipierro wrote: > I put the script in trunk under scripts/autoroutes.py >