Bug 1265792 - [RFE] Static website hosting
Summary: [RFE] Static website hosting
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RGW
Version: 1.3.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 2.1
Assignee: Yehuda Sadeh
QA Contact: shilpa
Bara Ancincova
: 1370634 (view as bug list)
Depends On:
Blocks: 1383917
TreeView+ depends on / blocked
Reported: 2015-09-23 18:47 UTC by Neil Levine
Modified: 2017-07-30 15:59 UTC (History)
13 users (show)

Fixed In Version: RHEL: ceph-10.2.3-2.el7cp Ubuntu: ceph_10.2.3-3redhat1xenial
Doc Type: Enhancement
Doc Text:
.Ceph Object Gateway now supports static website hosting With this feature, users can host static websites in Simple Storage Service (S3) buckets. For details, see the https://access.redhat.com/documentation/en/red-hat-ceph-storage/2/single/object-gateway-guide-for-red-hat-enterprise-linux/#configuring_gateways_for_static_web_hosting[Configuring Gateways for Static Web Hosting] chapter in the Red Hat Ceph Storage Ceph Object Gateway Guide for Red Hat Enterprise Linux.
Clone Of:
Last Closed: 2016-11-22 19:24:30 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2815 0 normal SHIPPED_LIVE Moderate: Red Hat Ceph Storage security, bug fix, and enhancement update 2017-03-22 02:06:33 UTC

Description Neil Levine 2015-09-23 18:47:43 UTC
Allow a customer to host static website content in an S3 bucket akin to:

Comment 3 Robin H. Johnson 2016-02-29 22:51:01 UTC
This code is landed; but not enabled by default.

Needs more polishing still, the final merge got very messy and broke some of the functionality because of intersecting with another large change.

I don't know if that covers all of your needinfo request; if so, feel free to clear the flag.

Comment 4 Ken Dreyer (Red Hat) 2016-04-26 20:47:13 UTC
Yehuda, please confirm whether this feature is complete in v10.2.0?

Comment 5 Yehuda Sadeh 2016-04-26 20:55:14 UTC
It's still incomplete in 10.2.0, but there is an upstream PR that supposed to add the missing pieces.

Comment 6 Ken Dreyer (Red Hat) 2016-04-26 21:00:09 UTC
Thanks. retargeting to 2.1, then.

Comment 7 Robin H. Johnson 2016-04-26 21:26:42 UTC

Pieces pending review & merge:
- RedirectRule engine/ErrorDoc fix
http://tracker.ceph.com/issues/15532 https://github.com/ceph/ceph/pull/8669
- x-amz-website-redirect-location header
http://tracker.ceph.com/issues/15531 https://github.com/ceph/ceph/pull/8633
- Merging tests to s3-tests:

Pieces needing a fix still:
- s3website VHost-style access to buckets (in-progress)

Comment 9 Uday Boppana 2016-09-07 15:18:01 UTC
Here is the equivalent S3 API:

GET Bucket website
PUT Bucket website
DELETE Bucket website

Comment 10 Uday Boppana 2016-09-07 15:18:51 UTC
*** Bug 1370634 has been marked as a duplicate of this bug. ***

Comment 13 shilpa 2016-11-02 18:31:38 UTC
Verified in

Comment 16 errata-xmlrpc 2016-11-22 19:24:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.