我已经通过这段代码删除了 index.php:
RewriteEngine on
RewriteCond $1 !^(index\.php|assets|robots\.txt)
RewriteRule ^(.*)$ /leet/index.php/$1 [L]
但是当我提交表单<?=form_open('signup');?>
并且页面刷新时,url 将其值更改为localhost/ci/index.php/signup
.
是否可以删除它?
我已经通过这段代码删除了 index.php:
RewriteEngine on
RewriteCond $1 !^(index\.php|assets|robots\.txt)
RewriteRule ^(.*)$ /leet/index.php/$1 [L]
但是当我提交表单<?=form_open('signup');?>
并且页面刷新时,url 将其值更改为localhost/ci/index.php/signup
.
是否可以删除它?