yii中访问出现的错误: You don't have permission to acces
访问路径http://localhost/yii/framework/yiiProject时出现403错误提示: You don't have permission to access / on this server. 于是google、百度上查了一通。大都是建议在apache的httpd.conf中将 Directory/ OptionsFollowSymLinks AllowOverrideNone Or
访问路径http://localhost/yii/framework/yiiProject时出现403错误提示:
You don't have permission to access / on this server.
于是google、百度上查了一通。大都是建议在apache的httpd.conf中将
Options FollowSymLinks
AllowOverride None
Order deny,allow
deny from all
改成
Options FollowSymLinks
AllowOverride None
#Order deny,allow
#deny from all
但是,我照做之后还是不行。
经过一番查找之后终于发现原来是我用的yii中本身有个.htaccess,这个文件当中定义了
deny from all
将它改成
allow from all
之后,就可以了。
上一篇: PHP7推迟发布 待定12月3日正式版发行_PHP教程
下一篇: photoshop 硬币的金属感
推荐阅读
-
对于搭建网站中出现“You don't have permission to access this resource.”错误提示的解决思路
-
yii中访问出现的错误: You don't have permission to acces
-
yii中访问出现的错误: You don't have permission to acces
-
对于搭建网站中出现“You don't have permission to access this resource.”错误提示的解决思路
-
局域网IP访问出现Forbidden You don‘t have permission to access * on this server问题解决-找对正确的配置文件进行修改