|  | 
 
 发表于 2016-10-11 10:15:53
|
显示全部楼层 
| htaccess文件的配置的问题,ci为了安全配置了application不能访问,楼上已经说了,下面是我的配置文件 <Directory "F:\wamp\www\citest">
 #定义目录索引页面
 DirectoryIndex index.php index.html
 order deny,allow
 RewriteEngine on
 RewriteBase /
 RewriteCond $1 !^(index\.php|public|application)
 RewriteRule ^(.*)$ /citest/index.php/$1 [L]
 </Directory>
 需要在RewriteCond  这里配置出可以直接访问的文件夹名称,比如你的css在public,这里要加上,我的是放在application
 | 
 |