Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName server1
- DocumentRoot "/var/www/server1/"
- <Directory "/var/www/server1/">
- AllowOverride none
- Options +Includes
- </Directory>
- </VirtualHost>
- <VirtualHost *:80>
- ServerName server2
- DocumentRoot "/var/www/server2/"
- <Directory "/var/www/server2/">
- AllowOverride none
- Options +Includes
- </Directory>
- </VirtualHost>
- <IfModule mod_ssl.c>
- <VirtualHost *:443>
- ServerName server3
- DocumentRoot "/var/www/server3/"
- <Directory "/var/www/server3/">
- AllowOverride None
- Options +Includes
- </Directory>
- SSLEngine on
- SSLOptions +StrictRequire
- SSLProtocol -all +TLSv1 +SSLv3
- SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM
- SSLVerifyClient none
- SSLCertificateFile /etc/apache2/ssl/XXX.crt
- SSLCertificateKeyFile /etc/apache2/ssl/XXX.pem
- SSLCACertificateFile /etc/apache2/ssl/XXX.crt
- <IfModule mime.c>
- AddType application/x-x509-ca-cert .crt
- AddType application/x-pkcs7-crl .crl
- </IfModule>
- </VirtualHost>
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement