ci调用application/views下的css,js,图片资源出现You don't have permission to access CodeIgniter on this server解决

 原因是view文件下面有个.htaccess文件,里面写的是 Deny from all     //拒绝所有请求

自己本地测试的话,就直接去掉,放到服务器就指定application/views文件夹下面的东西可以访问权限

放在服务器上,在这句话下面增加正则制定可以访问application/views文件夹下面的东西就可以

 

ci调用application/views下的css,js,图片资源出现You don't have permission to access CodeIgniter on this server解决,布布扣,bubuko.com

文章来自:http://www.cnblogs.com/zx-admin/p/3833013.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3