wampserver You don't have permission to access / on this server. 解决方法

最近在安装最近版wampserver 2.2 d时发现安装好后启动服务器,访问localhost显示You don‘t have permission to access / on this server. 而在目录127.0.0.1下可以访问。

造成这个问题的原因是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下不能正常访问在127.0.0.1能正常访问,解决方法:

点击根目录下的alias目录,打开phpmyadmin.conf配置文件,和上面修改http.conf一样把

Deny from all

Allow from 127.0.0.1

修改为

Allow from all

wampserver You don't have permission to access / on this server. 解决方法

时间: 2024-10-23 15:13:02

wampserver You don't have permission to access / on this server. 解决方法的相关文章

wampserver You don't have permission to access / on this server. 解决 方法(转,正好碰到这样的事情了就转下来)

最近在安装最近版wampserver 2.2 d时发现安装好后启动服务器,访问localhost显示You don't have permission to access / on this server. 而在目录127.0.0.1下可以访问. 造成这个问题的原因是Apache 的http.conf内的默认配置是 #   onlineoffline tag - don't remove Order Deny,Allow Deny from all Allow from 127.0.0.1 只允

mac osx Forbidden You don't have permission to access / on this server解决方法

(1)首先查看*.conf 是否有读写权限,如果没有要将文件赋予读写权限,比如 sudo chmod 777 localhost.conf (2)再查看/Users/username/Sites/localhost/文件夹是否有index.html文件,没有的话,创建一个,默认是打开index.html文件 (3)最后查看localhost配置文件 对于OSX 10.9 Apache 2.2 <VirtualHost *:80> DocumentRoot "/Users/xx/Sit

phpstudy无法访问主页,提示You don&#39;t have permission to access / on this server解决办法

1.输入localhost提示:You don't have permission to access / on this server. 新版phpStudy为了安全,取消Apache和nginx列出目录内容. phpStudy如何禁止或允许站点目录列表 请使用『其他选项菜单』-『phpStudy设置』-『允许目录列表』,打上对勾表示允许目录列表,去掉对勾表示禁止目录列表. 2.配置多域名的虚拟主机总是失败,提示You don't have permission to access / on

you don&#39;t have permission to access / on this server解决

时间:2014-10-13 17:34来源:有何不可 作者:有何不可 举报 点击:56151次 项目部署到Apache Http Server上面,通过apachectl -t 检测配置文件也没有问题.可是通过浏览器访问,却出现了“you don't have permission to access / on this server”. 项目部署到Apache Http Server上面,通过apachectl -t 检测配置文件也没有问题.可是通过浏览器访问,却出现了“you don't h

启动wamp报错 You don&#39;t have permission to access / on this server

安装完wamp之后,安装网上的教程设置虚拟路径,出现了问题,同样的问题由不同的原因导致. 1.httpd.conf中添加Listen 相应的端口,我的是8080 2.httpd.conf去掉Include conf/extra/httpd-vhosts.conf前面的#. 3.然后调用localhost,就出现下面的错误: Forbidden You don't have permission to access /on this server. 解决方法:在conf\extra下面的httpd

WampServer出现You don’t have permission to access/on this server提示

WampServer出现You don't have permission to access/on this server提示 本地搭建WampServer,输入http://127.0.0.1访问正常,当输入http://localhost/,apache出现You don't have permission to access/on this server的提示,如何解决? 找到httpd.conf,用记事本打开httpd.conf,有两处需要修改: <Directory /> Opti

安装wamp后,localhost访问报错“You don&#39;t have permission to access / on this server.”

今天装了一个wamp,在本地测试了一下,发现使用http://localhost/报错403,提示内容如下:"You don't have permission to access / on this server.".用127.0.0.1访问正常,phpMyAdmin也是同样的问题. 在网上搜索了一下有很多都是出现这个问题,但是不是不详细就是没找到解决办法.在此做一下记录,我是安装一路下一步所以安装目录都是默认的. 首先修改Apache,在wampserver下左键,Apache下有

You don&#39;t have permission to access / on this server.

出现这个报错需要更改apache配置文件 sudo vi /etc/apache2/httpd.conf 将 <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory> 或类似 修改为 <Directory /> Options Indexes FollowSymLinks AllowOverride None </Direc

Forbidden You don&#39;t have permission to access / on this server

Apache: Forbidden You don't have permission to access / on this server 度娘了半天,屁用都没,都是老掉牙的. 最后google之,http://stackoverflow.com/questions/21551840/forbidden-you-dont-have-permission-to-access-on-this-server Found my solution thanks to Error with .htacce