You should be able to do without the proxy in that specific case. What I did for one website was switch the WMS version to 1.0.7 in the GetFeatureInfo requests, so that there were no OGC mimetypes and the response was still plain old XML (mimetype wise). I was using Mapserver for that site though, not sure what you are using.
Best regards, Bart > > Hi list, > > A simple question. In OL, can we do a GetFeatureInfo without setting up > a Proxy? > > The http://trac.openlayers.org/wiki/GetFeatureInfo page doesn't mention > the need of a proxy. > > Before you ask, everything is hosted on the same server (the data, the > WMS server, OpenLayers and MapFish) :-) > > > Neither > http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost and > http://trac.openlayers.org/wiki/WMSManager mention that the proxy > requirement also applies to the GetFeatureInfo request. > > > Context: we're setting up MapFish/OpenLayers on one of the highest > traffic website of Canada (weather.gc.ca) and the technical staff are > having difficulties setting up the Proxy. If there was a workaround not > involving a proxy, that would be great. > > I just rejoined the OL list after two years of absence for this > question, I'll move out again in the coming days, you can reach me > directly on [email protected] - thank you > > > Thank you for any feedback! > > Alex :) > -- > Alexandre Leroux, M.Sc., Ing. > Environnement Canada / Environment Canada > Centre météorologique canadien / Canadian Meteorological Centre > Section de la réponse aux urgences environnementales / > Environmental Emergency Response Section > [email protected] > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
