Created
July 28, 2014 09:34
-
-
Save Phunky/060a52cf55cb58acefe0 to your computer and use it in GitHub Desktop.
OSX vhost for local .dev domains
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