Created
December 6, 2013 12:23
-
-
Save spraveenitpro/7822900 to your computer and use it in GitHub Desktop.
Virtual Host 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> | |
ServerAdmin webmaster@localhost | |
ServerName yourname.dev | |
DocumentRoot path to custom directory/ | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride All | |
</Directory> | |
<Directory path to custom directory/> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Order allow,deny | |
allow from all | |
</Directory> | |
</VirtualHost> | |
<directory /path to custom directory/> | |
Options Indexes FollowSymLinks | |
AllowOverride None | |
Require all granted | |
</directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment