[OpenLayers-Users] Cross Domain problem ?

Mustafa646 noorcs22 at gmail.com
Sun May 29 08:34:09 EDT 2011


I have geoserver at 172.20.30.100 and Openlayer application at different
server 192.168.2.90. i am also using OpenLayers.Control.WMSGetFeatureInfo in
the code to get feature info in popup. 

When i run my application from outside of production environment, only wms
layers are displayed but i could not get feature info in pupup when i click
on any feature. i noted, its a xdomain problem, and i use proxy in my code
as:  

OpenLayers.ProxyHost = "/proxy.ashx?url=";

After putting this line of code, when i run application again and click at
feature, i got popup displaying "could not contact back-end site" after some
delay.

Can i anybody help me if its proxy problem or somthing else ?



--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Cross-Domain-problem-tp6416427p6416427.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list