[OpenLayers-Users] Proxy supporting Mapfish REST services
Eric Lemoine
eric.lemoine at camptocamp.com
Sat Jun 4 03:11:45 EDT 2011
On Friday, June 3, 2011, Thomas Gratier <osgeo.mailinglist at gmail.com> wrote:
> Hello,
>
> See in the FAQ http://trac.osgeo.org/openlayers/wiki/FrequentlyAskedQuestions#ProxyHost
Hi
The proxy.cgi script, included in the examples dir, doesn't support
PUT and DELETE, so it'll partially work for MapFish web services.
See <http://svn.mapfish.org/svn/mapfish/framework/client/trunk/examples/http-proxy.py>
for a proxy script that supports GET, POST, as well as PUT and DELETE.
The proxy works with mod_python, but I should also have a version that
works with mod_wsgi if you're interested.
And see the formatURL func in
<http://svn.mapfish.org/svn/mapfish/framework/client/trunk/mfbase/mapfish/core/Util.js>
for how to adapt URLs for use of the proxy.
Cheers,
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
More information about the Users
mailing list