Skip to content

Instantly share code, notes, and snippets.

@hitautodestruct
Created March 25, 2015 11:35
Show Gist options
  • Save hitautodestruct/a4def18eb1f2a6c185a1 to your computer and use it in GitHub Desktop.
Save hitautodestruct/a4def18eb1f2a6c185a1 to your computer and use it in GitHub Desktop.
Definition for apache virtual host dev setup.
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "/Users/username/code/wp"
ServerName wp.website.com
ServerAlias wp.website.com
ServerAlias wp-website.*.xip.io
ErrorLog "logs/error_log_website.log"
<Directory "/Users/username/code/wp/">
Options Indexes FollowSymLinks Includes
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