我目前的网址看起来像这样[mysite]index.php/[rest of the slug].
我想index.php从这些网址中删除.
mod_rewrite在我的apache2服务器上启用.在config,$config['index_page'] = '';
我的codeignitor根.htaccess文件包含,
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
Run Code Online (Sandbox Code Playgroud)
但它仍然无法正常工作.我哪里错了?