<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
老师,你标签<Ifmoduel>我们用了失败,m要大写 <IfModule> 还有,要将Apache配置文件的AllowOverride None 将None改为 All
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
老师,你标签<Ifmoduel>我们用了失败,m要大写 <IfModule> 还有,要将Apache配置文件的AllowOverride None 将None改为 All
2016-03-11