我無法從CodeIgnitor 3.0 URL中刪除index.php。我已經應用了很多解決方案,但沒有任何成效我正在使用WAMP 2.5。 rewrite_module在Apache中處於活動狀態。 $ config ['index_page'] =''。我htaccess文件是在根文件夾是如下無法從Codeignitor 3.0 URL中刪除index.php
RewriteEngine on
RewriteBase /Reporting/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|js|img|css|captcha|robots\.txt)
RewriteRule ^(.*)$ /yourfolder/index.php/$1 [L]
報告是在WWW,所有的文件都存在的文件夾。
的[笨去除URL的index.php]可能的複製(http://stackoverflow.com/questions/19183311/codeigniter-removing-index-php-from-url) – RiggsFolly