Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1217847

Summary: Precise rgw.conf text is incorrect
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Warren <wusui>
Component: DocumentationAssignee: ceph-docs <ceph-docs>
Status: CLOSED CURRENTRELEASE QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.2.3CC: bhubbard, jowilkin, kdreyer, ngoswami, tmuthami
Target Milestone: rc   
Target Release: 1.2.4   
Hardware: x86_64   
OS: Other   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-18 10:24:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Warren 2015-05-01 21:31:04 UTC
Description of problem:

https://gitlab.cee.redhat.com/ngoswami/red-hat-ceph-storage-object-gateway-ubuntu/blob/master/ceph-object-gateway-installation-guide-Ubuntu-x86_64.adoc

As listed the contents of rgw.conf contains the lines:

RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /s3gw.fcgi?page=$1&params=$2&%{QUERY_STRING}
[E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

This should be one line:
RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /s3gw.fcgi?page=$1&params=$2&%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

If this is broken by a formatter of some sort, it should at least be mentioned in the text afterwards.

Comment 3 Brad Hubbard 2015-05-04 00:38:13 UTC
Please check bz1212165 This part of the manual may be redundant.

Comment 4 Nilamdyuti 2015-05-04 11:46:13 UTC
(In reply to Brad Hubbard from comment #3)
> Please check bz1212165 This part of the manual may be redundant.

I checked the bug. No, it is not redundant. The reference to s3gw.fcgi cannot be removed for gateway configuration in Ubuntu because in Ubuntu Precise/Trusty, the Apache configuration is with mod_fastcgi where s3gw.fcgi is used for the process manager of fastcgi module. In RHEL/CentOS, the configuration is with mod_proxy_fcgi where this s3gw.fcgi script is not required. Our existing Ubuntu customers have mod_fastcgi and so this script is required.