Skip to content

Instantly share code, notes, and snippets.

@soyFelixBarros
Last active June 21, 2018 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soyFelixBarros/a5ebcd03ed1024578c7d76a20705c28b to your computer and use it in GitHub Desktop.
Save soyFelixBarros/a5ebcd03ed1024578c7d76a20705c28b to your computer and use it in GitHub Desktop.
Apache - Adding VirtualHost
<Directory "E:\Projects">
Allowoverride All
Require all granted
Allow from all
</Directory>
<VirtualHost *:80>
DocumentRoot "E:\Projects\ejemplo.com\public"
ServerName ejemplo.test
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "E:\Projects\ejemplo2.com\public"
ServerName ejemplo2.test
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment