Wamp 访问提示 You don’t have permission to accesson this server. 2019/08/16 10:40 • 其他应用软件 • 阅读 1825 本地搭建 Wamp 服务,输入 http://127.0.0.1/ 访问正常,但是访问 http://localhost/,apache 出现「ou don’t have permission to access / on this server.」的提示。 解决方法 1、打开 httpd.conf,修改以下两处位置,然后重新启动所有服务。 // 第一处位置 <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny 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”。 2、现在打开 localhost 或 127.0.0.1 时发现可以访问了,但访问 phpmyadmin 时候,出现「You don’t have permission to access /phpmyadmin/ on this server. 」的提示。 3、解决方法,打开 C:/wamp/alias/phpmyadmin.conf ,将配置修改成以下内容。 <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> 4、修改保存后,重启 wamp 服务,故障排除。 本文为原创文章,著作权归作者所有:来自「KOBIN 技术随笔」作者的原创作品,转载请标明出处。Wamp 访问提示 You don’t have permission to accesson this server.https://blog.kobin.cn/blog/program/p3/163.html Apache 赞 (0) 0 0 生成海报 发表回复 您的邮箱地址不会被公开。 必填项已用 * 标注*昵称: *邮箱: 网址: 记住昵称、邮箱和网址,下次评论免输入 提交 CAPTCHAis initialing...