【发布时间】:2010-02-03 13:25:11
【问题描述】:
如何在 CodeIgniter 中从我的 URL 中删除 index.php?
我从我的配置文件中删除了index.php,我已经在 Apache (2.2.11) 中运行了我的rewrite_module,我的.htaccess 文件是:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|captcha|css|js|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
现在,每当我单击任何链接时,都会显示找不到该 URL。有什么问题?
【问题讨论】:
标签: php codeigniter