CORS not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, 

I'm having issues with setting cors on dumpling. I seems like it's not doing anything.

I have the following CORS rule on test1 bucket:

	<CORSConfiguration>
	<CORSRule>
		<AllowedMethod>GET</AllowedMethod><AllowedMethod>POST</AllowedMethod>
		<AllowedOrigin>http://a.a.a</AllowedOrigin>
		<AllowedHeader>*</AllowedHeader>
	</CORSRule>
	</CORSConfiguration>


When test with the following I'm missing the Access-Control-Allow-Origin on the response:
       Curl  -H "Origin: http://a.a.a"; https://s3/test1 -vv
       
       < HTTP/1.1 200 OK
       < Date: Wed, 21 Aug 2013 20:13:31 GMT
       < Server: Apache/2.2.22 (Ubuntu)
       < Transfer-Encoding: chunked
       < Content-Type: application/xml
       
       
       
When I try a pre-flight check I get a 403.

curl -vv -X OPTIONS -H 'Access-Control-Request-Method: GET' -H "Origin: http://a.a.a"; https://s3/test1/a

< HTTP/1.1 403 Forbidden
< Date: Wed, 21 Aug 2013 20:16:12 GMT
< Server: Apache/2.2.22 (Ubuntu)
< Accept-Ranges: bytes
< Content-Length: 78
< Content-Type: application/xml
       


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux