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.k...@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@openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>>
>>      
>
>
>    


-- 
Atle Frenvik Sveen
Utvikler
Geomatikk IKT AS
tlf: 45 27 86 89
atle.frenvik.sv...@geomatikk.no

_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to