Skip to content

Fix for EU-Buckets - #26

Open
untoldwind wants to merge 3 commits into
marcel:masterfrom
untoldwind:master
Open

Fix for EU-Buckets#26
untoldwind wants to merge 3 commits into
marcel:masterfrom
untoldwind:master

Conversation

@untoldwind

Copy link
Copy Markdown

To access EU-Buckets one HAS to use the VirtualHost-method to address buckets, i.e. instead of
GET /bucket/somekey
Host: s3.amazonaws.com
it has to be
GET /somekey
Host: bucket.s3.amazonaws.com

Yet the canonical string for authorization remains the same for both.
This fix is a quick&dirty soluation that works for me so far. Though it is still necessary to set the ":server" option in establish_connection!. Maybe this should be set as well (at least for :persistent => false)

@pdjota

pdjota commented Feb 7, 2011

Copy link
Copy Markdown

I have the same problem, I'm going to try your fix.

@nt

nt commented Apr 20, 2011

Copy link
Copy Markdown

I just can't believe this bug. Wasted my day.

@pdjota

pdjota commented Apr 20, 2011

Copy link
Copy Markdown

nt: we changed the gem version to git://github.com/JezC/aws-s3.git
in orden to avoid incompatibilities.

@nt

nt commented Apr 20, 2011

Copy link
Copy Markdown

Thanks, I will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants