重写规则 去掉URL地址里面的入口文件index.php
1. <IfModule mod_rewrite.c>
2. RewriteEngine on
3. RewriteCond %{REQUEST_FILENAME} !-d
4. RewriteCond %{REQUEST_FILENAME} !-f
5. RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
6. </IfModule>
1. <IfModule mod_rewrite.c>
2. RewriteEngine on
3. RewriteCond %{REQUEST_FILENAME} !-d
4. RewriteCond %{REQUEST_FILENAME} !-f
5. RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
6. </IfModule>