Skip to content

Instantly share code, notes, and snippets.

@DrizzlyOwl
Created October 26, 2016 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DrizzlyOwl/12d238f7c1ad6b39cadc3089ec82b602 to your computer and use it in GitHub Desktop.
Save DrizzlyOwl/12d238f7c1ad6b39cadc3089ec82b602 to your computer and use it in GitHub Desktop.
<Directory "/Users/ashleydavies/sites">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
<Virtualhost *:80>
VirtualDocumentRoot "/Users/ashleydavies/sites/_localhost"
UseCanonicalName Off
</Virtualhost>
<Virtualhost *:80>
VirtualDocumentRoot "/Users/ashleydavies/sites/%2"
ServerName sites.dev
ServerAlias www.*.dev
ServerAlias www.*.dev.*.xip.io
UseCanonicalName Off
</Virtualhost>
<Virtualhost *:80>
VirtualDocumentRoot "/Users/ashleydavies/sites/%1"
ServerName sites.dev
ServerAlias *.dev
ServerAlias *.dev.*.xip.io
UseCanonicalName Off
</Virtualhost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment