如果你安装的是wampserver集成的那你就进入wampinapacheApache2.2. 11confextrahttpd-vhosts.conf配置文件进行如下配置 意思是配置3个虚拟主机分别是
1 website. localhost:8080 C:Users . zhangDocumentsWebsiteDHR32 tools. localhost:8080 C:Users . zhangDocumentsTools 3 test. localhost:8080 C:TestPhppublic
//////////////////////////////
ServerName website. localhost
ServerAdmin webmaster@test. tools.directhr.net
DocumentRoot "C:Users . zhangDocumentsWebsiteDHR3"
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
ErrorLog "logs/test. tools.directhr.net-error. log"
CustomLog "logs/test. tools.directhr.net-access. log" common
ServerName tools. localhost
ServerAdmin webmaster@test. tools.directhr.net
DocumentRoot "C:Users . zhangDocumentsTools"
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
ErrorLog "logs/test. tools.directhr.net-error. log"
CustomLog "logs/test. tools.directhr.net-access. log" common ServerName test. localhost
ServerAdmin webmaster@test. tools.directhr.net
DocumentRoot "C:TestPhppublic"
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
ErrorLog "logs/test. tools.directhr.net-error. log"
CustomLog "logs/test. tools.directhr.net-access. log" common 还有件重要的事情是配置C:WindowsSystem32driversetchosts 将如下内容黏贴就行了
127.0.0. 1 tools. localhost
127.0.0. 1 website. localhost
127.0.0. 1 test. localhost
知了云(https://www. zllyun.com) 行业领先的企业级云计算服务平台提供基于OpenStack构建的云服务器、香港云服务器、香港服务器、贵阳服务器、重庆服务器的租用和托管服务
ZJI原名维翔主机,是原来Wordpress圈知名主机商家,成立于2011年,2018年9月更名为ZJI,提供香港、日本、美国独立服务器(自营/数据中心直营)租用及VDS、虚拟主机空间、域名注册业务。ZJI今年全新上架了台湾CN2线路服务器,本月针对香港高主频服务器和台湾CN2服务器提供7折优惠码,其他机房及产品提供8折优惠码,优惠后台湾CN2线路E5服务器月付595元起。台湾一型CPU:Inte...
mansora怎么样?mansora是一家国人商家,主要提供沪韩IEPL、沪日IEPL、深港IEPL等专线VPS。现在新推出了英国CN2 KVM VPS,线路为AS4809 AS9929,可解锁 Netflix,并有永久8折优惠。英国CN2 VPS,$18.2/月/1GB内存/10GB SSD空间/1TB流量/100Mbps端口/KVM,有需要的可以关注一下。点击进入:mansora官方网站地址m...
diyvm怎么样?diyvm这是一家低调国人VPS主机商,成立于2009年,提供的产品包括VPS主机和独立服务器租用等,数据中心包括香港沙田、美国洛杉矶、日本大阪等,VPS主机基于XEN架构,均为国内直连线路,主机支持异地备份与自定义镜像,可提供内网IP。最近,DiyVM商家对香港机房VPS提供5折优惠码,最低2GB内存起优惠后仅需50元/月。点击进入:diyvm官方网站地址DiyVM香港机房CN...