标签:关于php虚拟主机的配置
apache下的vhosts文件修改
<VirtualHost *:80> ServerAdmin test.jkxt.com //域名 DocumentRoot "D:/xampp/htdocs/jkxt" //项目地址 ServerName test.jkxt.com ErrorLog "logs/dummy-host2.example.com-error.log" CustomLog "logs/dummy-host2.example.com-access.log" common </VirtualHost>
修改c盘下system32/drivers/etc/htocs
# localhost name resolution is handled within DNS itself. 127.0.0.1 test.jkxt.com # ::1 localhost
本文出自 “kangjunfei” 博客,转载请与作者联系!
标签:关于php虚拟主机的配置
原文地址:http://kangjunfei.blog.51cto.com/11556647/1963583