When uploading a file to a bucket created at Amazon S3 I get the following error:
ERROR: S3 error: 301 (Moved Permanently): PermanentRedirect
According to the amazon s3 developer forums the purpose of this is "to encourage you to use the http://<bucketname>.s3.amazonaws.com method to access it, so DNS redirection can be used to send you to the right datacenter. Since this isn't possible with http://s3.amazonaws.com/<bucketname>, the latter will return a 301 to force your application to use the vhosted method instead."
Log in to post a comment.