|
各位好,我遇到了一个很奇怪的问题,因为本人比较菜,所以来这里求助了。
删除index.php后,没有问题,可以显示页面内容,也可以调用controller,但是用httpFox抓了包一看,出现404错误,加上index.php去访问,就没有问题了,请问这是什么回事呢?![](static/image/smiley/default/sad.gif)
配置
3 <IfModule mod_rewrite.c>
4 RewriteEngine On
5 RewriteCond $1 !^(index\\.php|images|css|js|robots\\.txt)
6 RewriteCond %{REQUEST_FILENAME} !-f
7 RewriteCond %{REQUEST_FILENAME} !-d
8 RewriteRule ^(.*)$ /index.php/$1 [L]
9 </IfModule>
10
11 <IfModule !mod_rewrite.c>
12 ErrorDocument 404 /index.php
13 </IfModule>
|
|