Skip to content

Instantly share code, notes, and snippets.

@nahakiole
Last active August 29, 2015 14:07
Show Gist options
  • Save nahakiole/52020dbbe7df4d93f76a to your computer and use it in GitHub Desktop.
Save nahakiole/52020dbbe7df4d93f76a to your computer and use it in GitHub Desktop.
Dynamic Virtual Host Configuration
<VirtualHost *>
UseCanonicalName Off
ServerAlias *
VirtualDocumentRoot /home/robin/Web/%0
VirtualScriptAlias /home/robin/Web/%0
<Directory /home/robin/Web/>
Options Indexes FollowSymLinks
AllowOverride All
Order Allow,Deny
Allow from all
Satisfy Any
Require local
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment