diff options
author | Yehuda Sadeh <yehuda@inktank.com> | 2013-08-15 13:29:34 -0700 |
---|---|---|
committer | Yehuda Sadeh <yehuda@inktank.com> | 2013-08-15 13:29:34 -0700 |
commit | 1cca35e8831b56434b8bc1878372a9a02c636f38 (patch) | |
tree | 368e6feed4a539448a365b977496f3e1539f8913 | |
parent | 086abe441e3bac03688dee3dffd07be87ef2802c (diff) | |
download | ceph-1cca35e8831b56434b8bc1878372a9a02c636f38.tar.gz |
doc: fix confusing apache configuration
RewriteRule needs to be within the VirtualHost section
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r-- | doc/radosgw/config.rst | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/radosgw/config.rst b/doc/radosgw/config.rst index 7dd9f9a93dd..1108bf87721 100644 --- a/doc/radosgw/config.rst +++ b/doc/radosgw/config.rst @@ -92,8 +92,12 @@ filtered out by Apache. The rewrite rule is not necessary for the OpenStack Swift-compatible interface. Turn on the rewrite engine and add the following rewrite rule to your Virtual Host configuration. :: - RewriteEngine On - RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /s3gw.fcgi?page=$1¶ms=$2&%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] + <VirtualHost *:80> + ... + RewriteEngine On + RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /s3gw.fcgi?page=$1¶ms=$2&%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] + ... + </VirtualHost> Since the ``<VirtualHost>`` is running ``mod_fastcgi.c``, you must include a section in your ``<VirtualHost>`` configuration for the ``mod_fastcgi.c`` module. @@ -449,4 +453,4 @@ on client the machine(s). .. _Pool Configuration: ../../rados/configuration/pool-pg-config-ref/ .. _Pools: ../../rados/operations/pools .. _Cephx Guide: ../../rados/operations/authentication/#cephx-guide -.. _Operating a Cluster: ../../rados/rados/operations/operating
\ No newline at end of file +.. _Operating a Cluster: ../../rados/rados/operations/operating |