Skip to content

Instantly share code, notes, and snippets.

@stovak
Last active December 17, 2015 07:09
Show Gist options
  • Save stovak/5570795 to your computer and use it in GitHub Desktop.
Save stovak/5570795 to your computer and use it in GitHub Desktop.
basic virtual host
<VirtualHost *:80>
DocumentRoot /disk2/www/mktg-dev.apigee.com
ServerName mktg-dev.apigee.com
CustomLog "/var/log/httpd/mktg.log" combined
ErrorLog "/var/log/httpd/mktg.log"
</VirtualHost>
<VirtualHost *:443>
DocumentRoot /disk2/www/mktg-dev.apigee.com
ServerName mktg-dev.apigee.com
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
SSLCertificateFile /etc/httpd/conf/server.crt
SSLCertificateKeyFile /etc/httpd/conf/server.key
CustomLog "/var/log/httpd/mktg.log" combined
ErrorLog "/var/log/httpd/mktg.log"
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment