PHP local domain name resolution tutorial_PHP tutorial

WBOY
Release: 2016-07-14 10:12:12
Original
1121 people have browsed it

1. Find C:WINDOWSsystem32driversetchosts
127.0.0.1 localhost
127.0.0.1 www.zhosoft.com

2. Find the C:wampbinapacheapache2.2.22confhttpd.conf file and open
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
Modify to
# Virtual hosts
Include conf/extra/httpd-vhosts.conf


3. Find the file C:wampbinapacheapache2.2.22confextrahttpd-vhosts.conf and open
Add
at the end
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

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/477235.htmlTechArticle1. Find C:WINDOWSsystem32driversetchosts 127.0.0.1 localhost 127.0.0.1 www.zhosoft.com 2. Find C:wampbinapacheapache2 .2.22confhttpd.conf file, open # Virtual hosts #...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!