From: John Wilkins Date: Wed, 19 Dec 2012 22:02:02 +0000 (-0800) Subject: doc: Added Gateway Quick Start configuration file. X-Git-Tag: v0.57~307 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5281ee24257517addb88c565e04db1c90bb6f4e9;p=ceph.git doc: Added Gateway Quick Start configuration file. Signed-off-by: John Wilkins --- diff --git a/doc/start/rgw.conf b/doc/start/rgw.conf new file mode 100644 index 000000000000..b2d9cb92ccef --- /dev/null +++ b/doc/start/rgw.conf @@ -0,0 +1,30 @@ +FastCgiExternalServer /var/www/s3gw.fcgi -socket /tmp/radosgw.sock + + + + ServerName {fqdn} + ServerAdmin {email.address} + DocumentRoot /var/www + + +RewriteEngine On +RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /s3gw.fcgi?page=$1¶ms=$2&%{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/apache2/error.log + CustomLog /var/log/apache2/access.log combined + ServerSignature Off + \ No newline at end of file