abr 082014
 

Say we want to create a virtual host for novasb.dev

 

Create a file under wamp/alias called novasb.dev.conf and add:

<VirtualHost *:80>
   DocumentRoot "c:/sites/novasb"
   ServerName novasb.dev
   ErrorLog "logs/novasb-error.log"
   CustomLog "logs/novasb-access.log" common
   <Directory "c:/sites/novasb">
      Options Indexes FollowSymLinks
      AllowOverride All
      Require all granted
   </Directory>
</VirtualHost>

Then, in windows\system32\drivers\etc\hosts , add:

127.0.0.1       localhost novasb.dev

Restart apache.