Skip to content

Instantly share code, notes, and snippets.

@nicholasf
Created November 19, 2012 23:37
Show Gist options
  • Save nicholasf/4114873 to your computer and use it in GitHub Desktop.
Save nicholasf/4114873 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerName stage.moneytribe.com.au
ServerAdmin webmaster@moneytribe.com.au
ErrorLog /var/log/httpd/stage.moneytribe.com.au_error.log
CustomLog /var/log/httpd/stage.moneytribe.com.au_access.log combined
DocumentRoot /var/www/html
<Directory "/var/www/html">
Options +FollowSymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost 125.7.123.138:443>
SSLEngine on
SSLCertificateFile /etc/httpd/conf/cert
SSLCertificateKeyFile /etc/httpd/conf/nopass.key
ServerName stage.moneytribe.com.au
ServerAdmin webmaster@moneytribe.com.au
ErrorLog /var/log/httpd/stage.moneytribe.com.au_error.log
CustomLog /var/log/httpd/stage.moneytribe.com.au_access.log combined
DocumentRoot /var/www/html
<Directory "/var/www/html">
Options +FollowSymLinks Indexes
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