Skip to content

Instantly share code, notes, and snippets.

@bryantp
Created April 22, 2013 01:11
Show Gist options
  • Save bryantp/5431825 to your computer and use it in GitHub Desktop.
Save bryantp/5431825 to your computer and use it in GitHub Desktop.
Site Virtual Host
<VirtualHost 192.73.236.37:80>
ServerName www.uglounge.com
ServerAlias uglounge.com
DocumentRoot "/var/www/ugloungeforums/"
<IfModule mod_ssl.c>
ErrorLog /var/log/apache2/ssl_engine.log
LogLevel debug
</IfModule>
SSLEngine on
SSLCertificateKeyFile /etc/ssl/ssl.key/uglounge.key
SSLCertificateFile /etc/ssl/ssl.crt/www_uglounge_com.crt
SSLCertificateChainFile /etc/ssl/ssl.crt/www_uglounge_com.ca-bundle
<Directory "/var/www/ugloungeforums/">
Options All
AllowOverride All
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