如果你安装的是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构建的云服务器、香港云服务器、香港服务器、贵阳服务器、重庆服务器的租用和托管服务
BGPTO是一家成立于2017年的国人主机商,从商家背景上是国内的K总和有其他投资者共同创办的商家,主营是独立服务器业务。数据中心包括美国洛杉矶Cera、新加坡、日本大阪和香港数据中心的服务器。商家对所销售服务器产品拥有自主硬件和IP资源,支持Linux和Windows。这个月,有看到商家BGPTO日本和新加坡机房独服正进行优惠促销,折扣最低65折。第一、商家机房优惠券码这次商家的活动机房是新加坡...
捷锐数据官网商家介绍捷锐数据怎么样?捷锐数据好不好?捷锐数据是成立于2018年一家国人IDC商家,早期其主营虚拟主机CDN,现在主要有香港云服、国内物理机、腾讯轻量云代理、阿里轻量云代理,自营香港为CN2+BGP线路,采用KVM虚拟化而且单IP提供10G流量清洗并且免费配备天机盾可达到屏蔽UDP以及无视CC效果。这次捷锐数据给大家带来的活动是香港云促销,总共放量40台点击进入捷锐数据官网优惠活动内...
LightNode是一家成立于2002年,总部位于香港的VPS服务商。提供基于KVM虚拟化技术.支持CentOS、Ubuntu或者Windows等操作系统。公司名:厦门靠谱云股份有限公司官方网站:https://www.lightnode.com拥有高质量香港CN2 GIA与东南亚节点(河内、曼谷、迪拜等)。最低月付7.71美金,按时付费,可随时取消。灵活满足开发建站、游戏应用、外贸电商等需求。首...