How to point custom domains to a bucket and set default page and error page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 17, 2014 at 3:32 AM, wsnote <wsnote at 163.com> wrote:
> Hi, everyone!
> I want to use ceph to host static websites.
> In Amazon S3, if I want to host test.domain.com, I create a bucket name
> test.domain.com, and set a CNAME record: test.domain.com CNAME
> test.domain.com.s3.amazonaws.com.
>
> In ceph, I do the same but without any effect. My ceph host is
> s3.cephtest.com. I create a bucket name test.domain.com, and I can download
> files from test.domain.com.s3.cephtest.com. However, if I want to download
> file from s3.cephtest.com, I fail and see the following info:
> <Error>
> <Code>NoSuchBucket</Code>
> </Error>
>
> Is there any config in ceph that I don't know about it?

Did you try 'rgw resolve cname = true'?

>
> Additional, how can I set a default page and 4** page for a static website?

This is not  supported yet.

Yehuda


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux