[Openstack] Openstack swift CORS configuration

Mohammed Naser mnaser at vexxhost.com
Fri Mar 20 16:26:57 UTC 2015


Hi Mehmet,


That doesn’t seem like a CORS issue but more of an actual authentication issue.  What method of authentication are you using?




Thanks

Mohammed

On Fri, Mar 20, 2015 at 4:52 AM, mehmet hacısalihoğlu
<esedmehmet at gmail.com> wrote:

> Hi All,
> I configurated CORS in Openstack swift Juno. But when I try curl command, I
> get error message. Do I need to make another configuration?
> I attached proxy-server.conf
> *curl -i http://10.1.34.100/v1/AUTH_test/dene
> <http://10.1.34.100/v1/AUTH_test/dene> -X OPTIONS -H "X-Auth-Token:
> AUTH_tke941c77b0bab4ccc8b8fd4ec96d159b7" -H "Origin: http://localhost
> <http://localhost>" -H "Access-Control-Request-Method: GET" *
> HTTP/1.1 401 Unauthorized
> Content-Length: 131
> Content-Type: text/html; charset=UTF-8
> Allow: HEAD, GET, PUT, POST, OPTIONS, DELETE
> X-Trans-Id: txcba55257a519445f91063-00550bd1db
> Date: Fri, 20 Mar 2015 07:52:59 GMT
> <html><h1>Unauthorized</h1><p>This server could not verify that you are
> authorized to access the document you requested.</p></html>
> Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150320/35255231/attachment.html>


More information about the Openstack mailing list