萬盛學電腦網

 萬盛學電腦網 >> 網絡編程 >> 編程語言綜合 >> Tipask 2.5版IIS ISAPI rewrite 2.0偽靜態規則

Tipask 2.5版IIS ISAPI rewrite 2.0偽靜態規則

   以下偽靜態規則適用於服務器為windows系統IIS之ISAPI rewrite 2.0版本,為完美解決Tipask2.5版偽靜態規則。

    規則如下,全文復制即可,如有其它規則,請檢查是否會存在沖突導致部分規則失效,盡量單獨使用。     [ISAPI_Rewrite]     # 3600 = 1 hour     CacheClockRate 3600     RepeatLimit 32     RewriteRule ^(.*)/q-(.*).html*$ $1/?q-$2.html     RewriteRule ^(.*)/c-(.*).html*$ $1/?c-$2.html     RewriteRule ^(.*)/l-(.*).html*$ $1/?l-$2.html     RewriteRule ^(.*)/r-(.*).html*$ $1/?r-$2.html     RewriteRule ^(.*)/u-(.*).html*$ $1/?u-$2.html     RewriteRule ^(.*)/us-(.*).html*$ $1/?us-$2.html     RewriteRule ^(.*)/question/add.html?*(.*)$ $1/index.php?question/add.html     RewriteRule ^(.*)/user/space_answer/(.*)/(.*).html*$ $1/index.php?user/space_answer/$2/$3.html     RewriteRule ^(.*)/user/ask/(.*).html*$ $1/index.php?user/ask/$2.html     RewriteRule ^(.*)/user/(.*).html*$ $1/index.php?user/$2.html     RewriteRule ^(.*)/message/(.*).html*$ $1/index.php?message/$2.html     RewriteRule ^(.*)/favorite/(.*).html*$ $1/index.php?favorite/$2.html     RewriteRule ^(.*)/index/(.*).html*$ $1/index.php?favorite/$2.html     RewriteRule ^(.*)/category/view/(.*).html*$ $1/?categoryview/$2.html  
copyright © 萬盛學電腦網 all rights reserved