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?
edit
c:\windows\system32\drivers\etc\hosts
administrator , add line127.0.0.1 test.dev
remove "#" in
# include conf/extra/httpd-vhosts.conf
, save , closehttpd.conf
file.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>
restart apache
Comments
Post a Comment