Skip to content

Instantly share code, notes, and snippets.

@butlerx
Last active April 26, 2018 13:46
Show Gist options
  • Save butlerx/b6ca0e88b8a5d5a5292db07b3b9c1a88 to your computer and use it in GitHub Desktop.
Save butlerx/b6ca0e88b8a5d5a5292db07b3b9c1a88 to your computer and use it in GitHub Desktop.
apache
<VirtualHost *:80>
ServerAdmin admin@test.com
ServerName test.com
ServerAlias www.test.com
DocumentRoot /var/www/test.com/public_html
FallbackResource index.html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
AddType text/html .shtml
AddHandler server-parsed .shtml
AddHandler server-parsed .html
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment