Created
January 23, 2012 20:44
-
-
Save trotter/1665449 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Listen 192.168.1.1:443 | |
LoadModule ssl_module modules/mod_ssl.so | |
SSLPassPhraseDialog builtin | |
AcceptMutex flock | |
SSLSessionCache shmcb:/var/cache/httpd/mod_ssl/ssl_scache(512000) | |
SSLSessionCacheTimeout 300 | |
SSLMutex default | |
SSLRandomSeed startup /dev/urandom 256 | |
SSLRandomSeed connect builtin | |
NameVirtualHost 192.168.1.1:443 | |
<VirtualHost 192.168.1.1:443> | |
SSLEngine on | |
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP | |
SSLCertificateFile /etc/ssl/star.example.com.crt | |
SSLCertificateKeyFile /etc/ssl/star.example.com.key | |
ServerName "one.example.com" | |
DocumentRoot "/var/www/html/one" | |
CustomLog "/var/log/httpd/one-access.log" combined | |
ErrorLog "/var/log/httpd/one-error.log" | |
<Directory /var/www/html> | |
AllowOverride none | |
Order Allow,Deny | |
Allow from all | |
</Directory> | |
</VirtualHost> | |
<VirtualHost 192.168.1.1:443> | |
SSLEngine on | |
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP | |
SSLCertificateFile /etc/ssl/star.example.com.crt | |
SSLCertificateKeyFile /etc/ssl/star.example.com.key | |
ServerName "two.example.com" | |
DocumentRoot "/var/www/html/two" | |
CustomLog "/var/log/httpd/two-access.log" combined | |
ErrorLog "/var/log/httpd/two-error.log" | |
<Directory /var/www/html> | |
AllowOverride none | |
Order Allow,Deny | |
Allow from all | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment