如果你安装的是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构建的云服务器、香港云服务器、香港服务器、贵阳服务器、重庆服务器的租用和托管服务
关于HostYun主机商在之前也有几次分享,这个前身是我们可能熟悉的小众的HostShare商家,主要就是提供廉价主机,那时候官方还声称选择这个品牌的机器不要用于正式生产项目,如今这个品牌重新转变成Hostyun。目前提供的VPS主机包括KVM和XEN架构,数据中心可选日本、韩国、香港和美国的多个地区机房,电信双程CN2 GIA线路,香港和日本机房,均为国内直连线路,访问质量不错。今天和大家分享下...
10gbiz怎么样?10gbiz 美国万兆带宽供应商,主打美国直连大带宽,真实硬防。除美国外还提供线路非常优质的香港、日本等数据中心可供选择,全部机房均支持增加独立硬防。洛杉矶特色线路去程三网直连(电信、联通、移动)回程CN2 GIA优化,全天低延迟。中国大陆访问质量优秀,最多可增加至600G硬防。香港七星级网络,去程回程均为电信CN2 GIA+联通+移动,大陆访问相较其他香港GIA线路平均速度更...
搬瓦工最新优惠码优惠码:BWH3HYATVBJW,节约6.58%,全场通用!搬瓦工关闭香港 PCCW 机房通知下面提炼一下邮件的关键信息,原文在最后面。香港 CN2 GIA 机房自从 2020 年上线以来,网络性能大幅提升,所有新订单都默认部署在香港 CN2 GIA 机房;目前可以免费迁移到香港 CN2 GIA 机房,在 KiwiVM 控制面板选择 HKHK_8 机房进行迁移即可,迁移会改变 IP...