Loading

BAOCMS v6伪静态规则

nginx伪静态规则

if (!-e $request_filename) {
   rewrite  ^(.*)$  /index.php?s=$1  last;
   break;
}        

 

Apache伪静态规则

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f


RewriteRule ^biz([\/]*)([^\.&]*)$  biz.php\?rewrite_param=$2 [QSA,L]
RewriteRule ^([^\.&]*)$  index.php\?rewrite_param=$1 [QSA,L]

</IfModule>

 

posted @ 2016-07-22 16:35  inzens  阅读(1471)  评论(0编辑  收藏  举报