[OpenLayers-Users] FetaureInfo not displaying
Sveen Atle Frenvik (Geomatikk IKT)
Atle.Frenvik.Sveen at geomatikk.no
Thu Jul 22 05:49:15 EDT 2010
see http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
-a
On 07/22/2010 11:42 AM, Imran Rajjad wrote:
> Hi.
> Is geoserver and your webpage in different domains? if Yes? then are
> you request wfs response in XML format (e.g) GML, if Yes? then it will
> not work because XML data can only be retreived through same domanin.
> This is called SOP , same origin policy that all browsers follow, if
> your page came from www.abc.com it cannot post xmlhttp request to
> www.xyz.com .. in your case you should use JSON
>
> regards,
> Imran
>
> On Thu, Jul 22, 2010 at 2:24 PM, M. Rizwan Khan<mrizwan1.khan at gmail.com> wrote:
>
>> Hi All,
>>
>> I am using Geoserver and openlayers for visualizing, when i am accessing it
>> with IP Address (http://192.168.1.45:18080/........) it is working fine, but
>> if a view any layer using the Domain (http://www.some-name.com/........)
>> name i am unable to view the info of the features when clicked on it.
>> I could see the Map in both the case, just the problem is of the response of
>> GetFeatureInfo.
>> Could anyone help me out with this.
>>
>> Regards,
>> M. Rizwan Khan
>>
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>>
>>
>
>
>
--
Atle Frenvik Sveen
Utvikler
Geomatikk IKT AS
tlf: 45 27 86 89
atle.frenvik.sveen at geomatikk.no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100722/b26e02c1/attachment.html
More information about the Users
mailing list