科汛V4.5偽靜態(tài)的實現(xiàn)正則規(guī)則
更新時間:2008年02月16日 09:37:09 作者:
科汛V4.5偽靜態(tài)的實現(xiàn)正則規(guī)則
花了一個晚上時間,終于把科汛V4.5實現(xiàn)了偽靜態(tài)功能。下面把規(guī)則貼出來供大家參考:
演示網(wǎng)址:http://www.liekesi.cn
偽靜態(tài):http://www.liekesi.cn/Article1232 或 http://www.liekesi.cn/Article1232/index.html
真實網(wǎng)址:http://www.liekesi.cn/Article/ShowInfo.asp?id=1232
#規(guī)則以下======================================================
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
#欄目導航
RewriteRule ^/Article-Class([0-9]+)$ /Article/ShowClass\.asp\?ID=$1 [L]
RewriteRule ^/Photo-Class([0-9]+)$ /Photo/ShowClass\.asp\?ID=$1 [L]
RewriteRule ^/DownLoad-Class([0-9]+)$ /Photo/ShowClass\.asp\?ID=$1 [L]
#內(nèi)容連接
RewriteRule ^/Article([0-9]+)$ /Article/ShowInfo\.asp\?ID=$1 [L]
RewriteRule ^/Photo([0-9]+)$ /Photo/ShowInfo\.asp\?ID=$1 [L]
RewriteRule ^/DownLoad([0-9]+)$ /DownLoad/ShowInfo\.asp\?ID=$1 [L]
#欄目分頁
RewriteRule ^/Article-Class([0-9]+)_([0-9]+)$ /Article/ShowClass\.asp\?ID=$1&page=$2 [L]
演示網(wǎng)址:http://www.liekesi.cn
偽靜態(tài):http://www.liekesi.cn/Article1232 或 http://www.liekesi.cn/Article1232/index.html
真實網(wǎng)址:http://www.liekesi.cn/Article/ShowInfo.asp?id=1232
復制代碼 代碼如下:
#規(guī)則以下======================================================
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
#欄目導航
RewriteRule ^/Article-Class([0-9]+)$ /Article/ShowClass\.asp\?ID=$1 [L]
RewriteRule ^/Photo-Class([0-9]+)$ /Photo/ShowClass\.asp\?ID=$1 [L]
RewriteRule ^/DownLoad-Class([0-9]+)$ /Photo/ShowClass\.asp\?ID=$1 [L]
#內(nèi)容連接
RewriteRule ^/Article([0-9]+)$ /Article/ShowInfo\.asp\?ID=$1 [L]
RewriteRule ^/Photo([0-9]+)$ /Photo/ShowInfo\.asp\?ID=$1 [L]
RewriteRule ^/DownLoad([0-9]+)$ /DownLoad/ShowInfo\.asp\?ID=$1 [L]
#欄目分頁
RewriteRule ^/Article-Class([0-9]+)_([0-9]+)$ /Article/ShowClass\.asp\?ID=$1&page=$2 [L]
相關文章
科汛V4.5偽靜態(tài)的實現(xiàn)正則規(guī)則
2008-02-02列出KesionCMS 4.0系統(tǒng)后臺菜單,讓大家熟悉下
列出KesionCMS 4.0系統(tǒng)后臺菜單,讓大家熟悉下...2007-09-09kesion 科訊不用登錄實現(xiàn)digg的修改方法
科訊4.5的系統(tǒng)增加了dig功能,可是不注冊的用戶無法digg是個不好的地方,本來國內(nèi)的民眾就不喜歡回復,一個digg要注冊時很難的了,所以該了下。2008-01-01