------------------------------------<httpd.conf>------------------------------------
Listen 80
Listen 443
...
LoadModule ssl_module modules/mod_ssl.so
...
SSLSessionCache "shmcb:D:/Service/sslcert/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300
NameVirtualHost *:80
<VirtualHost *:80>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>
ProxyPass / balancer://platform/ lbmethod=byrequests
ProxyPassReverse / http://arch04.eng.app.com:9000
ProxyPassReverse / http://arch06.eng.app.com:9000
<Proxy balancer://platform>
BalancerMember http://arch04.eng.app.com:9000
BalancerMember http://arch06.eng.app.com:9000
</Proxy>
ProxyPreserveHost On
#SSL VirtualHost Conf
NameVirtualHost *:443
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile "D:/Service/sslcert/Service-2013.cert"
SSLCertificateKeyFile "D:/Service/sslcert/Service-2013.key"
</VirtualHost>
------------------------------------<httpd.conf>------------------------------------
Thursday, April 14, 2011
Enable SSL With Load Balancer on Apache HTTP server
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment