]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | FastCgiExternalServer /var/www/s3gw.fcgi -socket /var/run/ceph/ceph.radosgw.gateway.fastcgi.sock |
2 | ||
3 | <VirtualHost *:80> | |
4 | ||
5 | ServerName {fqdn} | |
6 | <!--Remove the comment. Add a server alias with *.{fqdn} for S3 subdomains--> | |
7 | <!--ServerAlias *.{fqdn}--> | |
8 | ServerAdmin {email.address} | |
9 | DocumentRoot /var/www | |
10 | RewriteEngine On | |
11 | RewriteRule ^/(.*) /s3gw.fcgi?%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] | |
12 | ||
13 | <IfModule mod_fastcgi.c> | |
14 | <Directory /var/www> | |
15 | Options +ExecCGI | |
16 | AllowOverride All | |
17 | SetHandler fastcgi-script | |
18 | Order allow,deny | |
19 | Allow from all | |
20 | AuthBasicAuthoritative Off | |
21 | </Directory> | |
22 | </IfModule> | |
23 | ||
24 | AllowEncodedSlashes On | |
25 | ErrorLog /var/log/apache2/error.log | |
26 | CustomLog /var/log/apache2/access.log combined | |
27 | ServerSignature Off | |
28 | ||
29 | </VirtualHost> |