Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
ServerName <mycomputer>.local
<Directory "/Users/<myusername>/Sites/*/">
DirectoryIndex index.html index.php
Options Indexes MultiViews FollowSymLinks Includes
AllowOverride All
Require all granted
<VirtualHost *:80 >
VirtualDocumentRoot /Users/<myusername>/Sites/%-2.0.%-1/%-3+

emhr commented Jan 26, 2016

Replace < my computer > in < my computer >.local to represent what you are using Sharing preference pane of SystemPreferences.
Replace < myusername > with your username

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment