Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / doc / start / rgw.conf
1 FastCgiExternalServer /var/www/s3gw.fcgi -socket /tmp/radosgw.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
11         RewriteEngine On
12         RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /s3gw.fcgi?page=$1&params=$2&%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
13
14         <IfModule mod_fastcgi.c>
15         <Directory /var/www>
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/apache2/error.log
27         CustomLog /var/log/apache2/access.log combined
28         ServerSignature Off
29
30 </VirtualHost>