Comment 2 for bug 1505273

Revision history for this message
Dmitry Sutyagin (dsutyagin) wrote :

To fix this the following is required:
- use Apache2 2.4.9+ (I have tested with 2.4.17)
- enable mod_proxy and mod_proxy_fcgi, optionally disable mod_fastcgi since it is not needed anymore
- edit /etc/apache2/sites-available/rgw.conf:
--- remove/comment all fcgi stuff
--- disable s3gw RewriteRule, use generic:
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
--- add ProxyPassMatch with syntax like below:
ProxyPassPatch "^.*$" "unix:/tmp/radosgw.sock|fcgi://localhost/var/www/radosgw/"

Side note - this may break S3 API (Swift API will work and chunked upload will work), so this is not a complete solution - RewriteRule needs to be customized somehow (or ProxyPassMatch parameters)