如果你安装的是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构建的云服务器、香港云服务器、香港服务器、贵阳服务器、重庆服务器的租用和托管服务
LOCVPS(全球云)发布了新上韩国机房KVM架构主机信息,提供流量和带宽方式,适用全场8折优惠码,优惠码最低2G内存套餐月付仅44元起。这是一家成立较早的国人VPS服务商,目前提供洛杉矶MC、洛杉矶C3、和香港邦联、香港沙田电信、香港大埔、日本东京、日本大阪、新加坡、德国和荷兰等机房VPS主机,基于KVM或者XEN架构。下面分别列出几款韩国机房KVM主机配置信息。韩国KVM流量型套餐:KR-Pl...
10gbiz怎么样?10gbiz 美国万兆带宽供应商,主打美国直连大带宽,真实硬防。除美国外还提供线路非常优质的香港、日本等数据中心可供选择,全部机房均支持增加独立硬防。洛杉矶特色线路去程三网直连(电信、联通、移动)回程CN2 GIA优化,全天低延迟。中国大陆访问质量优秀,最多可增加至600G硬防。香港七星级网络,去程回程均为电信CN2 GIA+联通+移动,大陆访问相较其他香港GIA线路平均速度更...
专心做抗投诉服务器的VirtVPS上线瑞士机房,看中的就是瑞士对隐私的保护,有需要欧洲抗投诉VPS的朋友不要错过了。VirtVPS这次上新的瑞士服务器采用E-2276G处理器,Windows/Linux操作系统可选。VirtVPS成立于2018年,主营荷兰、芬兰、德国、英国机房的离岸虚拟主机托管、VPS、独立服务器、游戏服务器和外汇服务器业务。VirtVPS 提供世界上最全面的安全、完全受保护和私...