<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Re: [OpenLayers-Users] FetaureInfo not displaying</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>see <A HREF="http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost">http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost</A><BR>
<BR>
-a<BR>
<BR>
On 07/22/2010 11:42 AM, Imran Rajjad wrote:<BR>
> Hi.<BR>
> Is geoserver and your webpage in different domains? if Yes? then are<BR>
> you request wfs response in XML format (e.g) GML, if Yes? then it will<BR>
> not work because XML data can only be retreived through same domanin.<BR>
> This is called SOP , same origin policy that all browsers follow, if<BR>
> your page came from www.abc.com it cannot post xmlhttp request to<BR>
> www.xyz.com .. in your case you should use JSON<BR>
><BR>
> regards,<BR>
> Imran<BR>
><BR>
> On Thu, Jul 22, 2010 at 2:24 PM, M. Rizwan Khan<mrizwan1.khan@gmail.com> wrote:<BR>
> <BR>
>> Hi All,<BR>
>><BR>
>> I am using Geoserver and openlayers for visualizing, when i am accessing it<BR>
>> with IP Address (<A HREF="http://192.168.1.45:18080/">http://192.168.1.45:18080/</A>........) it is working fine, but<BR>
>> if a view any layer using the Domain (<A HREF="http://www.some-name.com/">http://www.some-name.com/</A>........)<BR>
>> name i am unable to view the info of the features when clicked on it.<BR>
>> I could see the Map in both the case, just the problem is of the response of<BR>
>> GetFeatureInfo.<BR>
>> Could anyone help me out with this.<BR>
>><BR>
>> Regards,<BR>
>> M. Rizwan Khan<BR>
>><BR>
>> _______________________________________________<BR>
>> Users mailing list<BR>
>> Users@openlayers.org<BR>
>> <A HREF="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</A><BR>
>><BR>
>><BR>
>> <BR>
><BR>
><BR>
> <BR>
<BR>
<BR>
--<BR>
Atle Frenvik Sveen<BR>
Utvikler<BR>
Geomatikk IKT AS<BR>
tlf: 45 27 86 89<BR>
atle.frenvik.sveen@geomatikk.no<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>