Created
July 14, 2015 11:04
-
-
Save CroneKorkN/1d245c2d99ce56b5188d to your computer and use it in GitHub Desktop.
Wildcard apache-vhosts for local web developement
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> | |
ServerName a.dev | |
ServerAlias *.dev | |
VirtualDocumentRoot "/var/www/%1" | |
UseCanonicalName Off | |
php_admin_flag safe_mode Off | |
</VirtualHost> | |
<Directory /var/www/> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Order allow,deny | |
allow from all | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment