projects
/
bluesky.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de73632
)
Use virtual hosts for specifying S3 buckets
author
root
<root@c09-45.sysnet.ucsd.edu>
Fri, 4 Mar 2011 22:19:30 +0000
(14:19 -0800)
committer
root
<root@c09-45.sysnet.ucsd.edu>
Fri, 4 Mar 2011 22:19:30 +0000
(14:19 -0800)
This is needed to get requests directed to the right place when using
different locations (US-West vs. US-California, for example).
bluesky/store-s3.c
patch
|
blob
|
history
diff --git
a/bluesky/store-s3.c
b/bluesky/store-s3.c
index
00bace4
..
fd2da4f
100644
(file)
--- a/
bluesky/store-s3.c
+++ b/
bluesky/store-s3.c
@@
-192,7
+192,7
@@
static gpointer s3store_new(const gchar *path)
else
store->bucket.bucketName = g_strdup(path);
store->bucket.protocol = S3ProtocolHTTP;
- store->bucket.uriStyle = S3UriStyle
Path
;
+ store->bucket.uriStyle = S3UriStyle
VirtualHost
;
store->bucket.accessKeyId = getenv("AWS_ACCESS_KEY_ID");
store->bucket.secretAccessKey = getenv("AWS_SECRET_ACCESS_KEY");