jetty.xml should be the file you edit. AS for the exact place to put it I
am not sure, you will have to consult the jetty documentation . I usually
use a proxy with apache to get around the same origin policy.

On Thu, May 24, 2012 at 12:41 PM, Smaran Harihar
<[email protected]>wrote:

> Hi Justin,
>
> I was able to goto the /etc and locate a list of config files but I am not
> sure which is the one that I should modify?
>
> Also could you also tell how to add the response header? I mean where
> should I insert it?
>
> Thanks & Regards,
> Smaran Harihar
>
>
> On Thu, May 24, 2012 at 11:13 AM, Justin Deoliveira 
> <[email protected]>wrote:
>
>>
>>
>> On Thu, May 24, 2012 at 10:59 AM, Smaran Harihar <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> I need to add to the Jetty config file in Geoserver, the response header
>>> *Access-Control-Allow-Origin: **, to avoid the error XMLHttpRequest
>>> cannot load
>>> *
>>> *
>>> So I wanted to know,
>>>
>>> 1. Where is the Jetty config file located in the Geoserver?
>>> 2. Which is the jetty config file?
>>> 3. What is the tags in which I should wrap the response header?
>>>
>>> I was able to locate the file jetty.xml in /opt/opengeo/suite/etc. Is
>>> this the right location?
>>>
>>
>> Yes, this is where the jetty configuration file lives, but this is
>> referring to geoserver in the opengeo suite. If you are talking straight
>> geoserver it is located in a similar location, in an "etc" directory under
>> the root.
>>
>>>
>>> --
>>> Thanks & Regards
>>> Smaran Harihar
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond. Discussions
>>> will include endpoint security, mobile security and the latest in malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> _______________________________________________
>>> Geoserver-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>>
>> --
>> Justin Deoliveira
>> OpenGeo - http://opengeo.org
>> Enterprise support for open source geospatial.
>>
>>
>
>
> --
> Thanks & Regards
> Smaran Harihar
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to