Last active
January 27, 2018 13:41
-
-
Save mbpcoder/6e7afc31112cefe4f4f42a7944e238b2 to your computer and use it in GitHub Desktop.
Apache Virtual Host configuration for local development on Windows
This file contains hidden or 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> | |
DocumentRoot "d:\projects\example" | |
ServerName example.local | |
ServerAlias www.example.local | |
ErrorLog "logs/example-error.log" | |
CustomLog "logs/example-access.log" common | |
<Directory "d:\projects\example"> | |
AllowOverride all | |
Order allow,deny | |
Allow from all | |
Require all granted | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment