Bug 1217847 - Precise rgw.conf text is incorrect
Summary: Precise rgw.conf text is incorrect
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 1.2.3
Hardware: x86_64
OS: Other
unspecified
unspecified
Target Milestone: rc
: 1.2.4
Assignee: ceph-docs@redhat.com
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-01 21:31 UTC by Warren
Modified: 2015-12-18 10:24 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-18 10:24:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1212165 0 unspecified CLOSED Remove all reference to s3gw.fcgi 2021-02-22 00:41:40 UTC

Internal Links: 1212165

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.


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