Skip to content

Instantly share code, notes, and snippets.

@magickatt
Created January 13, 2014 09:26
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 magickatt/8397082 to your computer and use it in GitHub Desktop.
Save magickatt/8397082 to your computer and use it in GitHub Desktop.
Wildcard VirtualHosts
NameVirtualHost *:80
<VirtualHost *:80>
VirtualDocumentRoot "/usr/local/zend/apache2/htdocs/%1/public"
<Directory "/usr/local/zend/apache2/htdocs/%1/public">
Allow From All
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment