From bd22cac9b2bf2131f281653751bfd84024f0edec Mon Sep 17 00:00:00 2001 From: John Wilkins Date: Mon, 14 Apr 2014 09:19:30 -0700 Subject: [PATCH] doc: Distro specific rgw.conf example. Signed-off-by: John Wilkins --- doc/radosgw/rgw-centos.conf | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 doc/radosgw/rgw-centos.conf diff --git a/doc/radosgw/rgw-centos.conf b/doc/radosgw/rgw-centos.conf new file mode 100644 index 00000000000..7e0f23f5697 --- /dev/null +++ b/doc/radosgw/rgw-centos.conf @@ -0,0 +1,30 @@ +FastCgiExternalServer /var/www/html/s3gw.fcgi -socket /var/run/ceph/client.radosgw.gateway.asok + + + + + ServerName {fqdn} + + + ServerAdmin {email.address} + DocumentRoot /var/www/html + RewriteEngine On + RewriteRule ^/(.*) /s3gw.fcgi?%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] + + + + Options +ExecCGI + AllowOverride All + SetHandler fastcgi-script + Order allow,deny + Allow from all + AuthBasicAuthoritative Off + + + + AllowEncodedSlashes On + ErrorLog /var/log/httpd/error.log + CustomLog /var/log/httpd/access.log combined + ServerSignature Off + + \ No newline at end of file