Are this changes in the new version?
On May 28, 3:50 pm, Jonathan Lundell jlund...@pobox.com wrote:
There's support for exclusive domain mapping enforcement in the trunk now.
It'd be good if someone could try it out, because the unit tests I was able
to come up with aren't all that close to
On Jun 4, 2011, at 9:21 AM, Francisco Costa wrote:
Are this changes in the new version?
Yes.
On May 28, 3:50 pm, Jonathan Lundell jlund...@pobox.com wrote:
There's support for exclusive domain mapping enforcement in the trunk now.
It'd be good if someone could try it out, because the
for the record: to solve the problem with google robots you can set
robot.txt to allow/deny other apps.
any update on this?
On May 24, 2:36 am, Jonathan Lundell jlund...@pobox.com wrote:
On May 23, 2011, at 8:06 PM, Bruno Rocha wrote:
I guess Francisco wants to explain a different behaviour.
Having 2 or more apps on the same web2py instance, web2py should prevent
the app to be requested
On May 26, 2011, at 2:08 AM, Francisco Costa wrote:
any update on this?
No, I just got back from a trip and haven't looked at it.
Can we discuss what behavior we want (and can get)?
The easiest option: a flag to forbid a cross-domain URL call. URL would raise
an exception if you try to do
The easiest option: a flag to forbid a cross-domain URL call. URL would raise
an exception if you try to do that. (Actually, the rewrite logic would do
that.)
That option would be great!
Sorry if I didn't explain this well...
Imagine a scenario of a web company..
The company website is in the main app
The clients sites are in different apps like client1, client2, etc
In routes.py you redirect the domain to the respective app (ex.
client1.com - client1)
The problem is that from
is this a bug?
On May 23, 6:15 pm, Francisco Costa m...@franciscocosta.com wrote:
Hello,
I have a main app and a blog app
My routes.py are like this:
routers = dict(
BASE = dict(
default_application = 'main',
default_controller = 'default',
default_function =
Does your URL() look like this: URL('main', 'test', 'index') ?
http://web2py.com/book/default/chapter/04#URL
but this shouldn't open http://rochacbruno.com.br/init/default/sobre
right?
On May 23, 8:03 pm, Bruno Rocha rochacbr...@gmail.com wrote:
The same happens for, me, and I see on;y one problem.
I have 2 apps inside a web2py instance, with 2 different domains as follows.
init
Yes!
I've tried URL(host = 'domain.com', a = 'main', c = 'test', f =
'index') and it generates the link correctly.
The thing is that I have a lots of URLS() and I didn't want to change
them all
But the bug is still there.
If I manually enter http://blog.domain.com/main/test/index the page
opens
The URL calling is fine.. the problem is how web2py manages different
apps from different domains/subdomains
I really believe that they should be improved!
On May 23, 11:02 pm, Jonathan Lundell jlund...@pobox.com wrote:
What's your URL() call for the example below? Have you looked at the HTML?
On May 23, 2011, at 6:10 PM, Francisco Costa wrote:
The URL calling is fine.. the problem is how web2py manages different
apps from different domains/subdomains
I really believe that they should be improved!
web2py (URL) isn't generating a domain *at all* in the URL unless you
explicitly
I guess Francisco wants to explain a different behaviour.
Having 2 or more apps on the same web2py instance, web2py should prevent the
app to be requested by other domain than its own domain.
www.app1.com - /app1 #allowed
www.app2.com - /app2 #allowed
www.app1.com/app2 - /app2 # denied
On May 23, 2011, at 8:06 PM, Bruno Rocha wrote:
I guess Francisco wants to explain a different behaviour.
Having 2 or more apps on the same web2py instance, web2py should prevent the
app to be requested by other domain than its own domain.
www.app1.com - /app1 #allowed
www.app2.com -
I dont think it is necessary to change URL behaviour, just include the
allow/deny lists to the router.
--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
On Mon, May 23, 2011 at 10:36 PM, Jonathan Lundell jlund...@pobox.comwrote:
On May 23, 2011, at 8:06 PM, Bruno Rocha wrote:
I
16 matches
Mail list logo