wamp出现You don’t have permission to access/on this server提示
2017-06-19 22:01
561 查看
本地搭建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.”的提示。
解决方法,打开如下文件:
C:\wamp\alias\phpmyadmin.conf //这个就是你的wamp的安装目录下的内容,用记事本打开
修改成这样:
<Directory "c:/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中访问http出现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提示
- wamp出现You don’t have permission to access/on this server提示
- wampserver提示You don't have permission to access / on this server
- apache出现You don't have permission to access / on this server. 提示(解决方法)
- wamp不能使用phpmyadmin,提示“You don't have permission to access /phpmyadmin/ on this server.”
- wampserver出现You don’t have permission to access/on this
- WampServer出现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服务器使用ip访问提示:Forbidden You don’t have permission to access / on this server
- apache出现You don't have permission to access / on this server. 提示
- apache出现You don't have permission to access / on this server. 提示
- Wamp下的虚拟主机报错403 Forbidden, You don't have permission to access / on this server.
- apache 提示You don't have permission to access /test.php on this server.怎样解决
- apache默认配置 访问目录403错误 出现You don't have permission to access / on this server