tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: CORS on Tomcat?
Date Tue, 21 May 2013 18:36:49 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Rainer,

On 5/21/13 1:07 PM, Rainer Jung wrote:
> 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.

Hah! Yes, I guess copy/paste doesn't work-out well when you don't
bother to actually read what was in the paste buffer.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRm77BAAoJEBzwKT+lPKRYkmkP+wQNMmoUhpxEBo+V49IVDxVJ
C11Nqny6A2q2L90DxJUekC5QFAHL0Qdo37u62qV7iF4Ao7cvfnnMhTruTbm8Gdz5
+WeJI+TcBTAx1pVg/RxZBwGUy4vIrV/ivJUufl1/77LV8lyP8BQloZOG6K5zvrd8
fLEK315sPwysMfAtqfo2HMjogFzkMiiNQYHfAZJ+tXFRepMgXm4vaV3NTaMljmHB
P7Fuy/TtPaoS4MzOgzoFVeVATJFC4UVRQg9IKAjX2EcK5oK18BsyGxz8XRI8Ikby
4XAWvEqS898B7tshBWNRSyBjynf0x8BQtjoTFwMNv0gvPNm1l9xd/WDo/LvwAPx/
mH4ybnvL3phWJJkybmynRA8x4b0+x81/EMtU1H1LYXcednfN5awncOvJLXQXQGYH
M99MP7aappHjzJQkqb/EHNSdIs3I5EAs/R0u1LYylgYsUcqTeduJWsYb87m3uaNS
wx1x1vIuvpExTdXsIXLL5FRWvzwM7aEzSl7Sc47Kya3qty9s+ayU8FYSXN9hvm0A
vCtlKwPDV24J1KXIv5uL0/VGNfmhKZ7guzx6hcgxIQrY7LAENBbNdWjVzpc3l5iY
xmBxLuc6IQB+ExN/pW3h1NY2rcOnyTzs3N7flmh3WeMeiETaTGgoUDmNgMXfK2ph
gewuihyd6I5uIIXsb/7M
=cyQ7
-----END PGP SIGNATURE-----

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


Mime
View raw message