The virtual hosts property is your friend here. Just use
-Djclouds.s3.virtual-host-buckets=false on the command line or the
equivalent in your code.

Cheers,
Niraj

On Mon, Aug 11, 2014 at 5:19 PM, Steve Kingsland
<[email protected]> wrote:
> I'm trying to use jclouds' S3 API to connect to an internally-hosted Ceph
> server, which exposes an S3-compliant API. Use other (ruby and perl)
> clients, I've noticed that my requests work fine when I put the
> container/bucket name after the hostname, like this:
>
> https://opower.internal/mybucket/?acl
>
> However, jclouds is putting the container name in the hostname (S3 calls
> this a "virtual bucket"), like so:
>
> https://mybucket.opower.internal/?acl
>
> And that's failing with an "AccessDenied" error that I haven't figured out
> yet, but am still working on. In the mean time, is there a way to configure
> jclouds to put the container name *after* the host name, in the request?
>
>
> Steve Kingsland
>
>
> Senior Software Engineer
>
> Opower
>
>
> We’re hiring! See jobs here

Reply via email to