![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
文章平均质量分 73
Dreamer_Yetmare
这个作者很懒,什么都没留下…
展开
-
xampp:Access forbidden!You don't have permission to access the requested directory.
D:\xampp\apache\conf\extra下httpd-vhosts.conf的配置如下:NameVirtualHost *:80 DocumentRoot "D:/xampp/htdocs" ServerName xampp AllowOverride All Allow from all D原创 2015-12-14 18:54:33 · 8226 阅读 · 0 评论 -
在xampp中的Apache配置虚拟主机
前提:已经安装好xampp环境step1:先把Apache停用(一定要确保这一点,因为Apache只有在重启的时候才会加载新的虚拟主机)step2:自己选定网站站点路径(比如我的是G:/MyWebsite),并在该路径下新建一个helloworld.php文件,具体内容如下图: step3:打开虚拟主机配置文件http-vhosts.conf(所在路径:D:/x原创 2015-12-16 10:16:25 · 1387 阅读 · 0 评论