ci中去掉index.php
apache中伪静态的配置
rewriteengine onrewritebase /testrewritecond %{request_uri} ^system.*rewriterule ^(.*)$ index.php/$1 [l]rewritecond %{request_filename} !-frewritecond %{request_filename} !-drewriterule ^(.*)$ index.php/$1 [l]
apache中alias的配置
alias /test f:/www options indexes followsymlinks allowoverride all order allow,deny allow from all
将ci中配置文件
application/config/config.php中
$config['index_page'] = index.php;
改为$config['index_page'] = ;。
