wamp环境下You don't have permission to access / on this server.
来源:互联网 发布:贝佳斯白泥怎么样知乎 编辑:程序博客网 时间:2024/05/16 07:06
一.问题描述
当我们把wamp环境在服务器上搭建好并成功启动的时候,本地环境localhost能成功访问,但通过域名访问却提示:“You don’t have permission to access / on this server.”
二.解决办法
step1:打开下图所示文件
用记事本修改文件信息为允许全部访问
ctrl+s保存即可
step2 完成第一步后发现仍然不能访问 需要进一步设置 找到如下图所示的文件
打开文件后修改两处:
第一处
<Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Allow from all</Directory>
第二处
<Directory "${INSTALL_DIR}/www/"> # # 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 +Indexes +FollowSymLinks +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. ## onlineoffline tag - don't remove Order Deny,allow Allow from all</Directory>
再次访问网页:
阅读全文
0 0
- wamp环境下出现You don’t have permission to access/on this server提示
- wamp环境下You don't have permission to access / on this server.
- WAMP Server多站点出现You don t have permission to access / on this server错误
- wamp不能使用phpmyadmin,提示“You don't have permission to access /phpmyadmin/ on this server.”
- wamp You don't have permission to access / on this server等问题的解决.
- wamp虚拟主机报错You don't have permission to access / on this server
- wamp Forbidden You don't have permission to access / on this server.
- wamp不能使用phpmyadmin,提示“You don't have permission to access /phpmyadmin/ on this server.”
- wamp You don't have permission to access / on this server.解决方法
- wamp不能使用phpmyadmin,提示“You don't have permission to access /phpmyadmin/ on this server.”
- wamp不能使用phpmyadmin,提示“You don't have permission to access /phpmyadmin/ on this server.”
- wamp不能使用phpmyadmin,提示“You don't have permission to access /phpmyadmin/ on this server.”
- wamp出现You don’t have permission to access/on this server提示
- wamp出现You don’t have permission to access/on this server提示
- wamp You don't have permission to access / on this server等问题的解决.
- wamp出现You don’t have permission to access/on this server提示
- 安装wamp后出现You don't have permission to access / on this server
- You don't have permission to access /phpmyadmin/ on this server.(wamp)
- Maven Dependencies 的.jar路径错误
- 【LeetCode】234. Palindrome Linked List
- 使用AndroidStudio直接运行无法启动,但是 Gradle Build 出来的安装包可以使用
- Android ApiClound 自定义模块未绑定解决方案
- Java中的static关键字解析
- wamp环境下You don't have permission to access / on this server.
- 2017年电商美工教程大全 范丽琴第10期 刘兵克第4期 杰克合成大班第5期【免费】
- java servlet过滤器控制frame框架中的页面跳转
- python在线笔试输入输出格式
- 利用Qt Assistant 定制帮助文档
- python之sys模块详解
- windbg调试HEAP
- 【读书杂谈】学习阅读(一)
- 希尔排序