您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

【PHP编程之路

2025/10/30 7:38:58发布21次查看
1.开启“虚拟目录配置文件”httpd-vhosts.conf 文件路径:\wamp\bin\apache\apache2.4.9\conf\extra\httpd-vhosts.conf 将以下配置: # virtual hosts# include conf/extra/httpd-vhosts.conf 改为: # virtual hostsinclude conf/extra/httpd-vhosts.conf 2
1.开启“虚拟目录配置文件”httpd-vhosts.conf
文件路径:\wamp\bin\apache\apache2.4.9\conf\extra\httpd-vhosts.conf
将以下配置:
# virtual hosts# include conf/extra/httpd-vhosts.conf
改为:
# virtual hostsinclude conf/extra/httpd-vhosts.conf
2.设置虚拟目录可访问
文件路径:\wamp\bin\apache\apache2.4.9\conf\extra\httpd-vhosts.conf
将以下配置:
allowoverride none require all denied
改为: allowoverride none
3.添加虚拟目录
文件路径:\wamp\bin\apache\apache2.4.9\conf\extra\httpd-vhosts.conf
添加虚拟目录
serveradmin webmaster@web.shop.com documentroot d:/_helloworld/01_myprojects/06_php/01_web/product/source/shop servername web.shop.com errorlog logs/web.shop.com-error.log customlog logs/web.shop.com-access.log common
4.重启apache5.在浏览器中输入web.shop.com
作者:jackson 出处:http://blog.csdn.net/jackson0714/article/details/44139893
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product