访问localhost显示You don't have permission to access / on this serv
来源:互联网 发布:网络人肉搜索现象分析 编辑:程序博客网 时间:2024/06/15 11:58
在安装wampserver 2.2 时安装好后启动服务器,访问localhost显示You don't have permission to access / on this server.
造成这个问题的原因是Apache 的http.conf内的默认配置是
# onlineoffline tag -
don't remove Order Deny,
Allow Deny from all
Allow from 127.0.0.1 只允许127.0.0.1访问,点击wampserver图标让后点击Putonline,http.conf内的以上默认配置自动修改为 # onlineoffline tag - don't remove Order Allow,Deny Allow from all 现在localhost可以访问了。
同样phpMyadmin在localhost下不能正常访问,
解决方法:
点击根目录下的alias目录,打开phpmyadmin.conf配置文件,
和上面修改http.conf一样把 Deny from all Allow from 127.0.0.1 修改为 Allow from all
0 0
- 访问localhost显示You don't have permission to access / on this serv
- 访问localhost时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.
- You don't have permission to access / on this server
- You don't have permission to access /*** on this server
- You don't have permission to access / on this server.
- You don't have permission to access on this server.
- You don't have permission to access / on this server.
- You don't have permission to access ××× on this server.
- You don't have permission to access / on this server
- You don't have permission to access / on this server.
- You don’t have permission to access/on this server
- You don't have permission to access / on this server.
- You don't have permission to access / on this server.
- You don't have permission to access / on this server.
- 访问 apache 显示 Forbidden You don't have permission to access /index.html on this server. 解决方法
- you don't have permission to access / on this server(Apache Server权限访问问题)
- you don't have permission to access / on this server(Apache Server权限访问问题)
- DeepLearningtoolbox(7):cnnff.m
- ubuntu下修改mysql数据文件目录
- Drools入门系列
- 正则表达式
- 项目中使用Redis的一些总结和体会
- 访问localhost显示You don't have permission to access / on this serv
- Android开发——seekBar滑动条滑动改变图片的透明度
- C#winfrom播放器动态加载歌词
- [LeetCode] Valid Parentheses 验证括号
- 《算法概论》习题8.9 碰撞集
- 华软2016校内选拔赛
- Sphinx之匹配方式
- RxCache源码解析
- 跟Google学写代码--Chromium工程中用到的C++11特性(Library Features)