xampp:Access forbidden!You don't have permission to access the requested directory.
来源:互联网 发布:杨辉三角c语言讲解 编辑:程序博客网 时间:2024/05/27 01:24
D:\xampp\apache\conf\extra下httpd-vhosts.conf的配置如下:
NameVirtualHost *:80<VirtualHost *:80> DocumentRoot "D:/xampp/htdocs" ServerName xampp <Directory /> AllowOverride All Allow from all </Directory></VirtualHost><VirtualHost *:80> DocumentRoot "D:/workspace/hush-framework/hush-app/web/backend" ServerName hush-app-backend <Directory /> AllowOverride All Order deny,allow Allow from all </Directory></VirtualHost><VirtualHost *:80> DocumentRoot "D:/workspace/hush-framework/hush-app/web/frontend" ServerName hush-app-frontend <Directory /> AllowOverride All Order deny,allow Allow from all </Directory></VirtualHost>Listen 8001<VirtualHost *:8001> DocumentRoot "D:/workspace/android-php-weibo/server/www/server" ServerName weibo-app-api <Directory /> AllowOverride All Order deny,allow Allow from all </Directory></VirtualHost>Listen 8002<VirtualHost *:8002> DocumentRoot "D:/workspace/android-php-weibo/server/www/website" ServerName weibo-app-web <Directory /> AllowOverride All Order deny,allow Allow from all </Directory></VirtualHost>
后来在每个VirtualHost下添加Require all granted就可以啦~
NameVirtualHost *:80<VirtualHost *:80> DocumentRoot "D:/xampp/htdocs" ServerName xampp <Directory /> AllowOverride All Allow from allRequire all granted </Directory></VirtualHost><VirtualHost *:80> DocumentRoot "D:/workspace/hush-framework/hush-app/web/backend" ServerName hush-app-backend <Directory /> AllowOverride All Order deny,allow Allow from allRequire all granted </Directory></VirtualHost><VirtualHost *:80> DocumentRoot "D:/workspace/hush-framework/hush-app/web/frontend" ServerName hush-app-frontend <Directory /> AllowOverride All Order deny,allow Allow from allRequire all granted </Directory></VirtualHost>Listen 8001<VirtualHost *:8001> DocumentRoot "D:/workspace/android-php-weibo/server/www/server" ServerName weibo-app-api <Directory /> AllowOverride All Order deny,allow Allow from allRequire all granted </Directory></VirtualHost>Listen 8002<VirtualHost *:8002> DocumentRoot "D:/workspace/android-php-weibo/server/www/website" ServerName weibo-app-web <Directory /> AllowOverride All Order deny,allow Allow from allRequire all granted </Directory></VirtualHost>
0 0
- xampp:Access forbidden!You don't have permission to access the requested directory.
- xampp 403 You don't have permission to access the requested directory
- mac上的xampp出现Access forbidden! You don’t have permission to access the requested object. It is either
- Access forbidden! You don’t have permission to access the requested object. It is either read-prote
- Forbidden You don''t have permission to access
- php 403 Forbidden you don't have permission to access
- You don't have permission to access
- VisualSVN---You don't have permission to access on this server/Access ...forbidden
- Apache配置问题Forbidden You don't have permission to access / on this server
- Apache配置问题Forbidden You don't have permission to access / on this server
- Forbidden You don't have permission to access /localhost/plan/index2.php on this server.
- 网站发布时出现Forbidden You don't have permission to access / on this server. 错误
- Forbidden You don't have permission to access / on this server.
- php:Forbidden You don’t have permission to access / on this server.
- php:Forbidden You don’t have permission to access / on this server.
- You don\'t have permission to access /test.php on this server.怎样解决Forbidden
- 局域网访问Apache PHP错误:Forbidden You don't have permission to access / on this server.
- PHP错误:Forbidden You don't have permission to access / on this server. 解决办法
- 开发一个简单的eclipse插件
- vfork()函数
- GPFS安装搭建(二)
- POJ 2488-A Knight's Journey
- 为什么BAT三家之中只有百度能做无人车?
- xampp:Access forbidden!You don't have permission to access the requested directory.
- centos下常用文件管理命令
- java重量级与轻量级
- Codeforces Round #262 (Div. 2) 总结
- [Python标准库]re——正则表达式[四]
- C语言中位操作,左移右移
- week15---12月15日 JQ基础(一)
- 刚登陆后台 屏蔽 由于您当前使用的网店证书不适用于shopex体系。。。。
- java开发俄罗斯方块学习笔记 Day-3 素材