vrivellino/clojure-west-2014-demo — pull request #9 by ulsa (2014-10-11 20:11:13+00:00)
Title: Path-style addressing requires region

Using `https://s3.amazonaws.com/mybucket/puppy.jpg` only works for US Standard region, as is [described here](http://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html). In other regions, the retrieve of the war from S3 gets a redirect and `/var/lib/tomcat7/webapps/ROOT.war` ends up containing only this error message:

```

PermanentRedirect
The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
...
```
The correct URI for the `eu-west-1` region is `https://s3-eu-west-1.amazonaws.com/mybucket/puppy.jpg`.