Hello!
>> javascript has a problem fetching external urls.
>> They created a proxy.cgi script [3].
> 
> Yup, I have the same issue :)
Thanks for confirming this. Such a short time I am working with 
Openlayers (OL)...

What I think is strange that the OL states that load from localhost 
shouldn't be a problem...

I wonder how this is solved within other javascript frameworks. Do they 
never load external pages?
Saving to a temporary file is not an option when the kml is generated 
dynamically from queries.

> I /think/ we need to rewrite the CGI script as a Web2Py
> controller...well, I do at least, as I don't want to depend on Apache
> as my app is going to be deployed in many scenarios...
Did you already start with this?
I do not yet know how to write this as native web2py controller since I 
do not understand the underlaying JS & proxy issues.
I will brach out you code and see what you have done so far.

What about looking at geo.turbogears & django?

>if you just have
> a single instance & have Apache ready, then a simple CGI bin will sort
> you out ;)
I think OL is just not enough to justify running apache among cherrypy 
(web2py).


Please let's get this dicussion going on.

Regards,
Timmie


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to