Ask Your Question
0

Swift Public Container and X-CDN tags

asked 2011-02-18 08:43:22 -0500

daniel-marzini gravatar image

Hi all, first of all, Thank you for your wonderful work.

I've Played a lot with swift and I read that the public container was not supported in austin release. After the Bexar release, in the documentation (link: http://docs.openstack.org/openstack-object-storage/developer/content/ch02s01.html (http://docs.openstack.org/openstack-o...) ) inside the authentication section, something new appears:

Example 2.2. Authentication Response

HTTP/1.1 204 No Content Date: Mon, 12 Nov 2010 15:32:21 GMT Server: Apache X-Storage-Url: https://storage.swiftdrive.com/v1/CF_xer7_34 (https://storage.swiftdrive.com/v1/CF_...) X-CDN-Management-Url: https://cdn.swiftdrive.com/v1/CF_xer7_34 X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb Content-Length: 0 Content-Type: text/plain; charset=UTF-8

I'm not able to reproduce the same response. My Swift SAIO does not reply with the X-CDN-Management-Url.

Is there an error in the documentation o I have to troubleshoot, once again, my swift installation?

Thanking you, Regards, Daniel

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2012-01-18 22:52:03 -0500

If I am not using CDN, but setting the X-Container-Read header for a container, what is the URL that I can use to directly access the container?

edit flag offensive delete link more
0

answered 2011-02-18 09:27:29 -0500

daniel-marzini gravatar image

Thank You Very Much Colin!

edit flag offensive delete link more
0

answered 2012-11-19 03:49:15 -0500

sujay-m17 gravatar image

Hi,

Can i make a public container such that i need not authenticate if i want to upload files into it? How to do it?

edit flag offensive delete link more
0

answered 2011-02-18 09:19:02 -0500

Hi Daniel,

I think that this is an error in the documentation, perhaps being copied and pasted from the Rackspace Cloud Files docs - swift does not support CDN. It does, however, support public containers.

You can make a container public with this command:

st -A https://swift.auth.url/auth/v1.0 -U -K post -r .r:*

You'll then be able to access all files in this container using its usual url, but without having to authenticate.

Regards, Colin

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-02-18 08:43:22 -0500

Seen: 206 times

Last updated: Nov 19 '12