Re: [web2py] routes question

2013-02-27 Thread Jonathan Lundell
On 27 Feb 2013, at 8:42 AM, greaneym wrote: > Thanks for your help, Jonathan. > > I'm not sure if this is the intended or best way to use this but > I looked in the manual more closely at absolute urls and this is what I added > to my menu to get to the other location hosted on a different phy

Re: [web2py] routes question

2013-02-27 Thread greaneym
Thanks for your help, Jonathan. I'm not sure if this is the intended or best way to use this but I looked in the manual more closely at absolute urls and this is what I added to my menu to get to the other location hosted on a different physical host. On the models/menu.py file on host 1 (T('

Re: [web2py] routes question

2013-02-26 Thread Jonathan Lundell
On 26 Feb 2013, at 7:25 PM, greaneym wrote: > I am confused by routes and I'm trying to learn how to use them. I see this > example, thinking it might apply to my situation, > "^[client]:[protocol]://[hostname]:[method] [url]$" > > and really I am just not sure how to do what I need because I d

Re: [web2py] routes question

2013-02-26 Thread greaneym
I am confused by routes and I'm trying to learn how to use them. I see this example, thinking it might apply to my situation, "^[client]:[protocol]://[hostname]:[method] [url]$" and really I am just not sure how to do what I need because I don't know enough, so I am just trying things until I g

Re: [web2py] routes question

2013-02-26 Thread Jonathan Lundell
On 26 Feb 2013, at 6:32 PM, greaneym wrote: > If the parametric routes format is used to route domains, do the domains have > to be on the same physical host? The cookbook refers to an example where the > domains are on the same physical host on p. 273. > > > Does an example like this work if

Re: [web2py] routes question

2010-12-09 Thread Vasile Ermicioi
so I am asking again, as I don't have an answer, is it broken the old functionality or am I missing something?

Re: [web2py] routes question

2010-12-07 Thread Jonathan Lundell
On Dec 7, 2010, at 4:35 PM, elffikk wrote: > > why that is not working, always shows 'invalid controller' for simple > http://localhost/ request > > routes_in = ( > ('/(.*)', '/myapp/$1'), > ) > > routes_out = ( > ('/myapp/(.*)', '/$1'), > ) Is there any reason we can't include the rewritte