Skip to content

Instantly share code, notes, and snippets.

@mbpcoder
Last active January 27, 2018 13:41
Show Gist options
  • Save mbpcoder/6e7afc31112cefe4f4f42a7944e238b2 to your computer and use it in GitHub Desktop.
Save mbpcoder/6e7afc31112cefe4f4f42a7944e238b2 to your computer and use it in GitHub Desktop.
Apache Virtual Host configuration for local development on Windows
<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