On Friday, June 3, 2011, Thomas Gratier <[email protected]> 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 : [email protected] http://www.camptocamp.com _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
