[Openstack] Openstack swift CORS configuration
esedmehmet at gmail.com
esedmehmet at gmail.com
Fri Mar 20 20:03:38 UTC 2015
Hi Mohammed,
I use tempauth autentication for swift.
Thanks.
Regards.
20 Mar 2015 tarihinde 18:26 saatinde, "Mohammed Naser" <mnaser at vexxhost.com> şunları yazdı:
> 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 -X OPTIONS -H "X-Auth-Token: AUTH_tke941c77b0bab4ccc8b8fd4ec96d159b7" -H "Origin: 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.
>>
>> <proxy-server.conf>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150320/7697d72e/attachment.html>
More information about the Openstack
mailing list