Created
March 22, 2011 15:43
-
-
Save wowo/881441 to your computer and use it in GitHub Desktop.
Dynamic Apache2 vhost configuration
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
<VirtualHost *:80> | |
VirtualDocumentRoot "/var/www/%1/web/" | |
<Directory "/var/www/%0/web"> | |
AllowOverride All | |
Allow from All | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment