Skip to content

Instantly share code, notes, and snippets.

@jsmestad
Created February 14, 2009 21:11
Show Gist options
  • Select an option

  • Save jsmestad/64476 to your computer and use it in GitHub Desktop.

Select an option

Save jsmestad/64476 to your computer and use it in GitHub Desktop.
NameVirtualHost *:80
<VirtualHost *:80>
ServerName build.evalcode.com
# ServerAlias build.evalcode.com
# ServerAlias build.evalcode.com
DocumentRoot /home/jsmestad/sites/build/public
# RackBaseURI /
</VirtualHost>
# Place any notes or comments you have here
# It will make any customisation easier to understand in the weeks to come
# domain: domain1.com
# public: /home/demo/public_html/domain1.com/
<VirtualHost *:80>
# Admin email, Server Name (domain name) and any aliases
ServerAdmin [email protected]
ServerName evalcode.com
ServerAlias www.evalcode.com
# Index file and Document Root (where the public files are located)
# DirectoryIndex index.html
DocumentRoot /home/jsmestad/sites/evalcode/wordpress
# Custom log file locations
ErrorLog /home/jsmestad/sites/evalcode/logs/error.log
CustomLog /home/jsmestad/sites/evalcode/logs/access.log combined
<Directory /home/jsmestad/sites/evalcode/wordpress>
AllowOverride All
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment