在删除index.php时出现问题?从网址:CodeIgniter Mod_Rewrite问题
http://localhost/index.php?/reset_password
随着htaccess文件:
# Customized error messages.
ErrorDocument 404 /index.php
# Set the default handler.
DirectoryIndex index.php
# Various rewrite rules.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
</IfModule>
CI设置:
$config['uri_protocol'] = 'AUTO';
我看着这里有类似问题的其他线程,但没有自己的htaccess档案工作。我错过了一个设置?
如果您可以通过其他不适合您的'.htaccess'设置链接到帖子,那将非常有帮助。 – 2012-03-03 23:20:46
第一个5 http://stackoverflow.com/search?q=CodeIgniter+Mod_Rewrite+issues – user781439 2012-03-03 23:23:38