输入http://localhost/,apache出现You don't have permission to access/on this server.的提示,如何解决?...
本地搭建wamp,输入http://127.0.0.1访问正常,当输入http://localhost/,apache出现You don't have permission to access/on this server.的提示,如何解决?
- 找到httpd.conf,用记事本打开httpd.conf,
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- </Directory>
- 将这里改成:
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- Order deny,allow
- Allow from all
- </Directory>
还有一处将下面
- # onlineoffline tag - don't remove
- Order Deny,Allow
- Deny from all
- Allow from 127.0.0.1
- </Directory>
将Deny from all 改为:Allow from all ,然后重新启动所有服务。
现在打开localhost或127.0.0.1时发现可以访问了,但访问phpmyadmin时候,出现“You don't have permission to access /phpmyadmin/ on this server.”的提示。
- 解决方法,打开如下文件: wamp安装目录/alias/phpmyadmin.conf 修改成这样:
- <Directory "wamp安装目录/apps/phpmyadmin3.5.1/">
- Options Indexes FollowSymLinks MultiViews
- AllowOverride all
- Order Deny,Allow
- Allow from all
- Allow from 127.0.0.1
- </Directory>
修改保存后,重启wamp 。
转载于:https://www.cnblogs.com/yinrw/p/5128524.html
输入http://localhost/,apache出现You don't have permission to access/on this server.的提示,如何解决?...相关推荐
- Linux Centos7 Apache 访问 You don't have permission to access / on this server.
折腾了很久,今天才找到了最正确的答案.感言真不容易. 百度出来的99%都是采集的内容,全都是错误的. You don't have permission to access / on this ser ...
- 【Apache】You don't have permission to access / on this server.问题解决
目录 背景 正文 总结 背景 在服务器中输入localhost出现 Forbidden,You don't have permission to access / on this server. 在外 ...
- 问题解决:Apache: You don't have permission to access / on this server
虚拟主机(Virtual Host)是指在一个机器上运行多个网络站点 (比如:www.company1.com和www.company2.com). 如果每个网络站点拥有不同的IP地址,则虚拟主机可以 ...
- [备忘][转载]apache 403错误 You don't have permission to access on this server
apache 403错误 You don't have permission to access on this server. 在配置好了Apache服务器后,测试已经通过了,但是通过浏览器访问lo ...
- apache 问题 You don't have permission to access /test.php on this server 解决方法
关键字: Apache 403 Forbidden 系统配置: 操作系统:Red Hat Linux 6.2 Web服务器:Apache 3.1.1+jakarta-tomcat 3.1.1 数据 ...
- Apache提示You don‘t have permission to access / on this server问题解决
Apache提示You don't have permission to access / on this server问题解决 参考文章: (1)Apache提示You don't have per ...
- (已解决)wamp + Apache报错:出现403Forbidden You don't have permission to access / on this server.
文章目录 `解决办法:` `*** `附件 · 延伸阅读 · 参考: 解决办法: 注意: 案例环境:win7 x64 或 win10 仅仅只需要修改apache配置文件httpd.conf 即可. 上 ...
- Apache(httpd) 报错You don't have permission to access /on this server.
项目需要,增加个访问端口,指向不同目录. 但是一直报"You don't have permission to access /on this server."错误 配置文件语法检 ...
- [乐意黎原创]访问Centos下Apache主机页面抛You don't have permission to access / on this server.
Forbidden You don't have permission to access / on this server. Server unable to read htaccess file, ...
最新文章
- Java项目:精美网上音乐平台(前后端分离+java+vue+Springboot+ssm+mysql+maven+redis)
- 软件体系结构风格(第5-8课时)
- 第七节:HtmlHelper及其扩展
- 转:人气资源大集合~~~2014年12月
- POJ 3469 Dual Core CPU (最小割建模)
- 70. Climbing Stairs
- scala版本的springboot的helloworld实验记录(转载+自己验证整理)
- mybatis学习(19):模糊查询#
- Java实现升序排列的整形数组A,元素两两不相等找出A[i]=i的数据
- java中.length得到结果_Java length()方法:获取字符串的长度
- JavaMaven【三、常用指令】
- Ubuntu美化开关机界面 - Linux
- android edittext底线,android – 更改edittext的底线颜色
- python分类器分5类_Python机器学习之K近邻分类器
- 程序员提升逼格技巧汇总
- 从华为起诉三星 看中国知识产权建设
- 清爽的空气中流动着一种微熏的温情
- decltype的介绍
- 输入一元二次方程的三个系数求方程的根(考虑不存在)
- PAT A1092 To Buy or Not to Buy ——自在飞花轻似梦,
热门文章
- [JAVA]寻找满足和的最短子序列(Minimum Size Subarray Sum)
- Software caused connection abort: recv failed
- 傻子的成长日记,编程路上	2016-04-07
- python:解决UnicodeDecodeError
- java list三种遍历方法性能比較
- linux系统盘满了,mysql启动不了
- [转载]如何发送和接收 Windows Phone 的 Toast 通知
- 在CentOS_Linux版虚拟机中安装VMTools工具
- ns 25的IKE模式ipsec ***配置
- Java深入了解String对象