Created
September 29, 2014 16:02
-
-
Save Phunky/fecf39aff5de06297f92 to your computer and use it in GitHub Desktop.
Simple vhost for any .dev site in apache and with xip.io, obviously you need to point the domain to local host (dnsmasq is simplest way!)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Any .dev folder in ~/Sites | |
# | |
<VirtualHost *:80> | |
VirtualDocumentRoot "/Users/phunky/Sites/%1.0.dev/public" | |
UseCanonicalName Off | |
ServerAlias %1.0.dev.*.xip.io | |
<Directory "/Users/phunky/Sites"> | |
Options FollowSymLinks | |
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