wangjin 发表于 2011-11-29 23:09:07

定义了.htaccess后,css文件都找不到了

去掉,使用index.php/home的方式正常显示,怎么解决啊

jeongee 发表于 2011-11-30 11:51:02

要排除资源文件夹

ward 发表于 2011-11-30 13:03:20

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php/$1
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|robots\.txt|css|images)
RewriteRule ^(.*)$ index.php/$1
</IfModule>

<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>

wangjin 发表于 2011-11-30 18:13:34

谢谢 ward:kiss:
页: [1]
查看完整版本: 定义了.htaccess后,css文件都找不到了