[Openstack] Openstack swift CORS configuration

mehmet hacısalihoğlu esedmehmet at gmail.com
Fri Mar 20 08:37:50 UTC 2015


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/e1ebfa61/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proxy-server.conf
Type: application/octet-stream
Size: 1540 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150320/e1ebfa61/attachment.obj>


More information about the Openstack mailing list