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