1. Find C: development. zhosoft. com2. find the C: wampbinapacheapache2.2.22confhttpd. conf file, open the # Virtualhosts # Includeconfextrahttpd-vhosts.conf and modify it to # VirtualhostsInclude
1. find C: \ WINDOWS \ system32 \ drivers \ etc \ hosts 127.0.0.1 localhost 127.0.0.1 www.zhosoft.com 2. find C: \ wamp \ bin \ apache \ apache2.2.22 \ conf \ httpd. conf file, open # Virtual hosts # Include conf/extra/httpd-vhosts.conf to # Virtual hosts Include
1. Find C: \ WINDOWS \ system32 \ drivers \ etc \ hosts
127.0.0.1 localhost
127.0.0.1 www.zhosoft.com
2. Find the C: \ wamp \ bin \ apache \ apache2.2.22 \ conf \ httpd. conf file and open
# Virtual hosts
# Include conf/extra/httpd-vhosts.conf
Change
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
3. Find the file C: \ wamp \ bin \ apache \ apache2.2.22 \ conf \ extra \ httpd-vhosts.conf, open
Last added
ServerAdmin zhosoft@126.com
DocumentRoot "E:/zhosoft"
ServerName www.zhosoft.com
Options Indexes FollowSymLinks
AllowOverride All
Order allow, deny
Allow from all
4. DW website