Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost node_a:80>
- ServerName node_a
- ServerAdmin node_a
- DocumentRoot /var/www/html
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /s3gw.fcgi?page=$1¶ms=$2&%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
- </IfModule>
- <IfModule mod_fastcgi.c>
- <Directory /var/www/html>
- Options +ExecCGI
- AllowOverride All
- SetHandler fastcgi-script
- Order allow,deny
- Allow from all
- AuthBasicAuthoritative Off
- </Directory>
- </IfModule>
- AllowEncodedSlashes On
- ErrorLog /var/log/httpd/rgw_error_log
- CustomLog /var/log/httpd/rgw_access_log combined
- ServerSignature Off
- SetEnv SERVER_PORT_SECURE 65443
- </VirtualHost>
- <VirtualHost node_a:443>
- ServerName node_a
- ServerAdmin node_a
- DocumentRoot /var/www/html
- #ErrorLog logs/ssl_error_log
- #TransferLog logs/ssl_access_log
- LogLevel warn
- SSLEngine on
- SSLProtocol all -SSLv2
- SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
- SSLCertificateFile /etc/pki/tls/certs/server.crt
- SSLCertificateKeyFile /etc/pki/tls/private/server.key
- <Files ~ "\.(cgi|shtml|phtml|php3?)$">
- SSLOptions +StdEnvVars
- </Files>
- <Directory "/var/www/cgi-bin">
- SSLOptions +StdEnvVars
- </Directory>
- SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
- CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /s3gw.fcgi?page=$1¶ms=$2&%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
- </IfModule>
- <IfModule mod_fastcgi.c>
- <Directory /var/www/html>
- Options +ExecCGI
- AllowOverride All
- SetHandler fastcgi-script
- Order allow,deny
- Allow from all
- AuthBasicAuthoritative Off
- </Directory>
- </IfModule>
- AllowEncodedSlashes On
- ErrorLog /var/log/httpd/rgw_error_log
- CustomLog /var/log/httpd/rgw_access_log combined
- ServerSignature Off
- SetEnv SERVER_PORT_SECURE 65443
- </VirtualHost>
- <IfModule mod_fastcgi.c>
- FastCgiExternalServer /var/www/html/s3gw.fcgi -socket /tmp/radosgw.sock
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement