CI放在子文件夹下htaccess设置
CI放在根目录ci文件夹下,其中htaccess设置为RewriteEngine on
RewriteBase /ci/
RewriteCond $1 !^(index\.php)
RewriteRule ^(.*)$ index.php/$1
这样设置以后
localhost/ci/welcome 可以访问
localhost/CI/index.php/welcome 可以访问
localhost/CI/welcome
404 这是什么原因
设置忽略大小写 西斯莱杰 发表于 2014-5-19 11:07
设置忽略大小写
试过,还是不行在去掉index.php的情况下,CI所在子文件夹的名字还是大小写敏感
.htaccess文件放在与index.php同一级目录下
页:
[1]