Forbidden:You don't have permission to access / on this server.
来源:互联网 发布:乐视网络电视for mac 编辑:程序博客网 时间:2024/06/08 03:25
在Mac下配置完PHP开发环境后,访问localhost报如下错误:
Forbidden
You don't have permission to access / on this server.
解决办法:
打开httpd.conf
sodu vi /etc/apache2/httpd.conf(Mac和Linux的打开命令)
DocumentRoot "/Users/tech/webservers"<Directory "/Users/tech/webservers"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # #Options FollowSymLinks Multiviews #MultiviewsMatch Any Options indexes Multiviews # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # AllowOverride FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Require all granted</Directory>
0 0
- 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. 解决办法
- wamp Forbidden You don't have permission to access / on this server.
- PHP错误:Forbidden You don't have permission to access / on this server.
- Apache Forbidden:You don't have permission to access / on this server.
- MAMP "403 Forbidden You don't have permission to access / on this server."
- Forbidden You don't have permission to access / on this server.
- 403 Forbidden You don't have permission to access / on this server.
- apache 2.49配置虚拟主机Forbidden You don't have permission to access / on this server
- 机器学习实战第三章决策树算法照葫芦画瓢算法实践
- vue实现轮播图效果
- 线程Thread初识
- [SMOJ1795]打怪兽
- 自定义配置UEditor 工具栏上的按钮列表
- Forbidden:You don't have permission to access / on this server.
- Chinese Girls' Amusement (大数模拟)
- CSS布局——Flex布局
- 一点Scala学习资源
- uva1631 Locker 记忆化搜索
- 【Treap/非旋转Treap】BZOJ3224 [Tyvj1728]普通平衡树
- Vue.js实现checkbox的全选和反选
- 新手开发者求助
- 数据结构(二):线性表的链式存储结构-单链表的实现