Skip to content

Instantly share code, notes, and snippets.

@esaesa
Created April 2, 2020 13:52
Show Gist options
  • Save esaesa/92e6d7720f572b4fa631521ac33009a2 to your computer and use it in GitHub Desktop.
Save esaesa/92e6d7720f572b4fa631521ac33009a2 to your computer and use it in GitHub Desktop.
Basic Apache vhosts configuration file
<VirtualHost MyApplication.local>
DocumentRoot "C:\vhosts\MyApplication.local\public_html"
<Directory "C:\vhosts\MyApplication.local\public_html">
AllowOverride All
Require ip 127.0.0.1
Order allow,deny
Allow from all
</Directory>
ServerName MyApplication.local
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment