首页 > 作文

2019

更新时间:2023-04-07 11:54:46 阅读: 评论:0

1.右击phpstudy ->【打开配置文件】->【vhosts-conf】;

2.在里面加入如下代码,并保存:

namevirtualhost *:80<virtualhost *:80> rvername  www.test.com//你想要显示的域名 documentroot "d:/test/"//目标文件夹<directory "d:/test/"> //目标文件夹 options followsymlinks incl大学读几年毕业ud房屋租赁补充协议esnoexec indexes directoryindex index.html index.htm default.htm index.php default.php index.cgi default.cgi index.pl default.pl index.shtml allowoverride options fileinfo  order deny,allow  allow from all </directory>大学工作总结</virtualhost>

3.右击phpstudy ->【打开配置文件】->【httpd-conf】;

4.打开后 ctrl+f 搜索vhosts 把该行前面的#号删好男当自强掉,若已删除,请忽略该步骤。

5.请按照c:\windows\system32\drivers\etc路径找到hosts文件并打开。

6.在里面加入配置的虚拟域名。

7.重启phpstudy即可。

注意图片不显示:若无法对hosts文件进行修改,请右击hosts,选择属性,安全,把所有用户的权限都勾选即可修改。

phpstudy 下载地址:链接:/d/file/titlepic/569s2fw 密码:yd5rjp

本文发布于:2023-04-07 11:54:44,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/zuowen/a8a4c657d2f8bb2e19ccdd79288721cd.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

本文word下载地址:2019.doc

本文 PDF 下载地址:2019.pdf

相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图