我的codeigniter项目在我的项目文件夹名称后无法访问index.php .. http://localhost/projectName/(here index.php丢失)/ controllerName / FunctionName
我使用.htaccess文件删除了index.php。但是,当我检查导航栏的源代码时,URL中缺少index.php(例如
$config['index_page'] = '';
$config['uri_protocol'] = 'REQUEST_URI';
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php/$1 [L,QSA]
i tried but not working