[OpenLayers-Users] proxy issue in (python) web frameworks
Christopher Schmidt
crschmidt at metacarta.com
Thu Apr 23 15:27:40 EDT 2009
On Thu, Apr 23, 2009 at 09:18:17PM +0200, Tim Michelsen wrote:
> AFAIK, web2py uses the cherrypy server backend -- no cgi-bin.
>
> * How have other webframeworks (django, turbogears, plone) come around
> this issue?
> * What are the lessons / experiences or recommendations you can give us?
> * Did you recode proxy.cgi is your own controller?
proxy.cgi is exceedingly trivial. It has three parts:
* Take the URL from the request.
* check that the URL has an allowable domain name.
* Send a request to that URL and return the contents.
It can be done in a tiny number of lines of code.
There is no reason to not just write what you need when you need it.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list