Skip to content

Instantly share code, notes, and snippets.

@fallinov
Last active August 29, 2015 14:19
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 fallinov/4ef7d09a0fbc8691eee7 to your computer and use it in GitHub Desktop.
Save fallinov/4ef7d09a0fbc8691eee7 to your computer and use it in GitHub Desktop.
XAMPP - Ajout d'un virtual host
NameVirtualHost *
<VirtualHost *>
DocumentRoot "C:\xampp\htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *>
DocumentRoot "C:\mes-sites\yoda-shop\www"
ServerName yoda-shop.local
<Directory "C:\mes-sites\yoda-shop\www">
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *>
DocumentRoot "C:\mes-sites\skywallker\www"
ServerName skywallker.local
<Directory "C:\mes-sites\skywallker\www">
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