On 21.05.2013 18:20, Leo Donahue - RDSA IT wrote:
>> -----Original Message-----
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: CORS on Tomcat?
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> Leo,
>>
>> On 5/21/13 11:34 AM, Leo Donahue - RDSA IT wrote:
>>> Does Tomcat support setting this header on the server?
>>>
>>> Header set Access-Control-Allow-Origin "*"
>>>
>>> If yes, where do we set it?
>>
>> You should know how to do this by now: url-rewrite.
> 
> Thanks Chris.  But.. but.. Apache has it...
> 
> I wanted to avoid using a proxy that turns lengthy GET requests into POST 
> requests for one of our REST based web apps.  I was reading online where 
> Cross Origin Resource Sharing was possible on some servers.  Specifically 
> here:  http://enable-cors.org/server.html

I guess Chris meant the Tuckey urlrewrite filter
(http://tuckey.org/urlrewrite/) which can be used in Tomcat.

Look for "response-header" in
http://urlrewritefilter.googlecode.com/svn/trunk/src/doc/manual/4.0/guide.html.

Regards,

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to