mirror of
https://github.com/ceph/ceph
synced 2024-12-29 06:52:35 +00:00
460bf9a097
This also adds a 'use_fastcgi' override config option for the rgw task. If specified we'll configure things to use mod_fastcgi instead of mod_proxy_fcgi. Signed-off-by: Andrew Schoen <aschoen@redhat.com>
18 lines
639 B
Plaintext
18 lines
639 B
Plaintext
# mod_fastcgi config goes here
|
|
|
|
# Set fastcgi environment variables.
|
|
# Note that this is separate from Unix environment variables!
|
|
SetEnv RGW_LOG_LEVEL 20
|
|
SetEnv RGW_SHOULD_LOG yes
|
|
SetEnv RGW_PRINT_CONTINUE {print_continue}
|
|
|
|
<IfModule !fastcgi_module>
|
|
LoadModule fastcgi_module {mod_path}/mod_fastcgi.so
|
|
</IfModule>
|
|
|
|
FastCgiIPCDir {testdir}/apache/tmp.{client}/fastcgi_sock
|
|
FastCgiExternalServer {testdir}/apache/htdocs.{client}/rgw.fcgi -socket rgw_sock -idle-timeout {idle_timeout}
|
|
RewriteEngine On
|
|
|
|
RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /rgw.fcgi?page=$1¶ms=$2&%{{QUERY_STRING}} [E=HTTP_AUTHORIZATION:%{{HTTP:Authorization}},L]
|