]> git.proxmox.com Git - ceph.git/blame - ceph/qa/tasks/mod_fastcgi.conf.template
bump version to 12.0.3-pve3
[ceph.git] / ceph / qa / tasks / mod_fastcgi.conf.template
CommitLineData
7c673cae
FG
1# mod_fastcgi config goes here
2
3# Set fastcgi environment variables.
4# Note that this is separate from Unix environment variables!
5SetEnv RGW_LOG_LEVEL 20
6SetEnv RGW_SHOULD_LOG yes
7SetEnv RGW_PRINT_CONTINUE {print_continue}
8
9<IfModule !fastcgi_module>
10 LoadModule fastcgi_module {mod_path}/mod_fastcgi.so
11</IfModule>
12
13FastCgiIPCDir {testdir}/apache/tmp.{client}/fastcgi_sock
14FastCgiExternalServer {testdir}/apache/htdocs.{client}/rgw.fcgi -socket rgw_sock -idle-timeout {idle_timeout}
15RewriteEngine On
16
17RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /rgw.fcgi?page=$1&params=$2&%{{QUERY_STRING}} [E=HTTP_AUTHORIZATION:%{{HTTP:Authorization}},L]