【发布时间】:2015-01-29 14:04:55
【问题描述】:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|js|css|images|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
当我在 Chrome 中访问 localhost/myProject/home 时,我已经编写了这个 .htaccess 文件,这工作正常,但在其他浏览器中它显示页面未找到错误
【问题讨论】:
标签: .htaccess codeigniter firefox