Remove index. php from CI
Pseudo-static configuration in apache
[Plain]
RewriteEngine on
RewriteBase/test
RewriteCond % {REQUEST_URI} ^ system .*
RewriteRule ^ (. *) $ index. php/$1 [L]
RewriteCond % {REQUEST_FILENAME }! -F
RewriteCond % {REQUEST_FILENAME }! -D
RewriteRule ^ (. *) $ index. php/$1 [L]
RewriteEngine on
RewriteBase/test
RewriteCond % {REQUEST_URI} ^ system .*
RewriteRule ^ (. *) $ index. php/$1 [L]
RewriteCond % {REQUEST_FILENAME }! -F
RewriteCond % {REQUEST_FILENAME }! -D
RewriteRule ^ (. *) $ index. php/$1 [L] alias configuration in apache
[Plain]
Alias/test "f:/www"
<Directory "f:/www">
Options Indexes FollowSymLinks
AllowOverride all
Order allow, deny
Allow from all
</Directory>
Alias/test "f:/www"
<Directory "f:/www">
Options Indexes FollowSymLinks
AllowOverride all
Order allow, deny
Allow from all
</Directory>
Set the configuration file in CI
Application/config. php
$ Config ['index _ page'] = "index. php ";
Change to $ config ['index _ page'] = "";.