wamp - Alias to localhost folder -


i'm trying setup wamp environment again. , forget have able go "test.dev" insteath of "localhost/testproject/index"

what have make work?

  1. edit c:\windows\system32\drivers\etc\hosts administrator , add line

    127.0.0.1 test.dev

  2. remove "#" in # include conf/extra/httpd-vhosts.conf , save , close httpd.conf file.

  3. add in c:\wamp\bin\apache\apache2.x.x\conf\extra\httpd-vhosts.conf (where x.x apache version)

    <virtualhost *:80>     serveradmin webmaster@yourdamin.com     documentroot "c:\wamp\www\yourfolder"     servername test.dev </virtualhost> 
  4. restart apache


Comments

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -