mirror of
https://github.com/ceph/ceph
synced 2024-12-23 11:54:11 +00:00
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]
|