ISAPI_Rewrite3或ISAPI_Rewrit2完全版规则.htaccess文件下载

Rewrite2,还是Rewrite3,Rewrite3的full版可以兼容Apache的mod_rewrite规则,在根目录下放个.htaccess文件,规则是:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?s=$1 [QSA,NU,PT,L]
</IfModule>

 

0 个评论

要回复文章请先登录注册