最近对Linux越来越喜欢了,就直接安装了一个Ubuntu,配制好LAMP后,在做小项目时,出现了下面的问题:Ubuntu You don't have permission to access ******这个是什么情况!我晕!在百度上找了一会没有找到,于是在其他的地方也看了很多人的解决方案了,对于我不管用!没办法还得自己再过一次,看看是什么原因,一查后发现了原来是目录的权限问题!!!!!我再晕!!!如果大家和我遇到同样的这个问题请大家好好的查看一下自己的目录权限是不是有问题:之后一个sudo…
默认 Ubuntu 不开启 ssh 服务 (1)检查是否开启SSH服务  命令:ps -e|grep ssh  查看SSH服务是否开启,或者通过命令:service sshd status 可以查看某个服务的状态. (2)安装SSH服务  通过apt-get 安装,命令:sudo apt-get install ssh (3)启动SSH服务  命令:sudo /etc/init.d/ssh start ssh 非root用户@ip地址  是可以的   但是想要  root@ip地址 需要进行下一…
今天访问遇到一个很奇怪的问题,在本地测试 http://localhost:9012/javascript/, 报错: Forbidden You don't have permission to access /javascript/ on this server. Apache/2.2.22 (Ubuntu) Server at localhost Port 9012 当然,我已经检查了一遍又一遍的权限. 为了排除问题, 我尝试  move javascript js, and http:/…
在新安装的谷歌游览器里,打不了PHP网站了,错误显示: Forbidden You don't have permission to access / on this server. 原因还是配置权限问题 解决办法: wamp\bin\apache\Apache2.2.21\conf\extra\httpd-vhosts.conf 文件里,找到对应网站的虚拟机,添加或者修改如下(绿色行10-15行) Listen 8023 <VirtualHost *:8023> ServerAdmin we…
本地搭建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 <…
在安装yii的时候 ,当打开了init.bat进行配置的时候小黑本弹出了个小黑框立刻就关闭了,  进入cmd模式再打开init.bat就出现了"You don't have permission to access  on this server"的这个错误,后来综合网上的各个文章,找到了造成了这个问题的原因主要有三个 1 php的permission扩展配置没有开 , 我用的是phpStudy在php-5.6.27-nts里面的配置文件里把去掉extension=php_openss…
之前配置phpmyadmin的时候,在浏览器上输入http://192.168.8.250/phpmyadmin/ 也遇到了You don't have permission to access on this server的问题 在网上搜了很多的资料,有的说是selinux的原因,把它关掉就可以了, 后来,我重新安装了phpmyadmin,发现有时候并不一定是selinux的原因: 再后来,找到了这篇文章的描述: ***********************分割线**************…
最近在安装最近版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…
1.Forbidden You don't have permission to access / on this server. 后来咨询了一下朋友(php高手),说修改一下php的配置文件httpd.conf. 在原有的位置文件中找到配置节 <Directory />    Options FollowSymLinks    AllowOverride None    Order deny,allow    Deny from all    Satisfy all</Director…
Forbidden  You don't have permission to access / on this server.   解决办法 打开 httpd.conf 文件, 将 #   onlineoffline tag - don't remove     Order Deny,Allow     Deny from all     Allow from 127.0.0.1 改成 #   onlineoffline tag - don't remove     Order Allow,D…