tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: CORS on Tomcat?
Date Tue, 21 May 2013 17:07:30 GMT
On 21.05.2013 18:20, Leo Donahue - RDSA IT wrote:
>> -----Original Message-----
>> From: Christopher Schultz [mailto:chris@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message