[OpenLayers-Users] Cross Domain problem ?
Arulraj Murugavel (மு. அருள்ராஜ்
Arulraj Murugavel (மு. அருள்ராஜ்
Mon May 30 00:15:49 EDT 2011
HI
You include this ip 172.20.30.100 in your proxy file under your webserver
where openlayers are available(192.168.2.90).
Then, both servers will talk each other.
Arul...
On Sun, May 29, 2011 at 6:04 PM, Mustafa646 <noorcs22 at gmail.com> wrote:
> 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.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110530/e561f431/attachment.html
More information about the Users
mailing list