Last active
November 21, 2015 21:55
-
-
Save Jesm/94b1c9c12067f217b1e4 to your computer and use it in GitHub Desktop.
Define virtual host in apache for development
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 127.0.0.1> | |
DocumentRoot "C:/example/app" | |
ServerName example.dev:80 | |
<Directory "C:/example/app"> | |
Options FollowSymLinks Indexes | |
AllowOverride All | |
Order deny,allow | |
Allow from 127.0.0.1 | |
Deny from all | |
Require all granted # If the project returns "internal error", try to comment this line. | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment