Skip to content

Conversation

untoldwind
Copy link

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
Copy link

pdjota commented Feb 7, 2011

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

@nt
Copy link

nt commented Apr 20, 2011

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

@pdjota
Copy link

pdjota commented Apr 20, 2011

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

@nt
Copy link

nt commented Apr 20, 2011

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