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
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('
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
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
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
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 the domains are on two physically
separate hosts?
rout
so I am asking again, as I don't have an answer, is it broken the old
functionality or am I missing something?
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
why that is not working, always shows 'invalid controller' for simple
http://localhost/ request
routes_in = (
('/(.*)', '/myapp/$1'),
)
routes_out = (
('/myapp/(.*)', '/$1'),
)
hi,
I want to serve multiple websites (absolutely different domains) using
the same web2py instance
I am getting always an 'Invalid request' message
routes.py is something like that
routes_in = (
('^.*site1\.com.*/(.*)', '/site1/$1'),
('^.*site2\.com.*/(.*)', '/site2/$1'),
)
I read this pos
10 matches
Mail list logo