访问路径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中将

改成

但是,我照做之后还是不行。

经过一番查找之后终于发现原来是我用的yii中本身有个.htaccess,这个文件当中定义了

deny from all

将它改成

allow from all

之后,就可以了。

09-12 14:03