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