杰奇(jieqiCMS)小說(shuō)全站偽靜態(tài)規(guī)則(含下載)
[重要通告]如您遇疑難雜癥,本站支持知識(shí)付費(fèi)業(yè)務(wù),掃右邊二維碼加博主微信,可節(jié)省您寶貴時(shí)間哦!
[code]
杰奇1.7全站偽靜態(tài)設(shè)置
請(qǐng)把以下內(nèi)容保存為 httpd.ini
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
#RewriteRule ^(.*)/index.html$ /index\.php
#RewriteRule ^(.*)/catalog/([0-9]+)-([0-9]+)\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
#RewriteRule ^(.*)/book/([0-9]+)\.html$ $1/modules/article/articleinfo\.php\?id=$2 [L]
RewriteRule ^/index\.html$ /index\.php [L]
RewriteRule ^(.*)/search\.html$ $1/modules/article/search\.php [L]
RewriteRule ^(.*)/book\.html$ $1/modules/article/index\.php [L]
RewriteRule ^(.*)/register\.html$ $1/register\.php [L]
RewriteRule ^(.*)/login\.html$ $1/login\.php [L]
RewriteRule ^(.*)/note.html$ $1/modules/note/index\.php [L]
RewriteRule ^(.*)/vote.html$ $1/modules/vote/index\.php [L]
RewriteRule ^(.*)/book/([0-9]+)\.html$ $1/modules/article/articleinfo\.php\?id=$2 [L]
RewriteRule ^(.*)/full\.html$ $1/modules/article/index\.php\?fullflag=1 [L]
RewriteRule ^(.*)/serial\.html$ $1/modules/article/index\.php\?fullflag=0 [L]
RewriteRule ^(.*)/initial/0\.html$ $1/modules/article/index\.php\?initial=~ [L]
RewriteRule ^(.*)/initial/0-([0-9]+)\.html$ $1/modules/article/index\.php\?initial=~&page=$2 [L]
RewriteRule ^(.*)/initial/([1A-Z])\.html$ $1/modules/article/articlelist\.php\?initial=$2page=$3 [L]
RewriteRule ^(.*)/initial/([1A-Z])-([0-9]+)\.html$ $1/modules/article/articlelist\.php\?initial=$2&page=$3 [L]
RewriteRule ^(.*)/catalog/([0-9]+)-([0-9]+)\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
RewriteRule ^(.*)/catalog/([0-9]+)/index\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
RewriteRule ^(.*)/catalog/-([0-9]+)\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
RewriteRule ^(.*)/catalog/([a-zA-Z0-9]+)\.html$ $1/modules/article/articlelist.php?class=$2 [L]
RewriteRule ^(.*)/fullflag/([0-9]+)-([0-9]+)\.html$ $1/modules/article/index\.php\?fullflag=$2&page=$3 [L]
RewriteRule ^(.*)/toplist/([a-z]+)-([0-9]+)\.html$ $1/modules/article/toplist\.php\?sort=$2&page=$3 [L]
RewriteRule ^(.*)/list/([0-9]+)\.html$ $1/modules/article/reader\.php\?aid=$2 [L]
RewriteRule ^(.*)/bookreader/([0-9]+)-([0-9]+)\.html$ $1/modules/article/reader\.php\?aid=$2&cid=$3
RewriteRule ^(.*)/bookreader/vol-([0-9]+)-([0-9]+)\.html$ modules/article/showvolume.php?aid=$1&vid=$2 [L]
RewriteRule ^(.*)/addbookcase-([0-9]+)-([0-9]+)\.html$ $1/modules/article/addbookcase.php?bid=$1&cid=$2 [L]
RewriteRule ^(.*)/addbookcase-([0-9]+)\.html$ $1/modules/article/addbookcase.php?bid=$1 [L]
RewriteRule ^(.*)/bookcase\.html$ $1/modules/article/bookcase.php [L]
RewriteRule ^(.*)/userdetail\.html$ $1/userdetail.php [L]
RewriteRule ^(.*)/myarticle\.html$ $1/modules/article/myarticle.php [L]
#RewriteRule ^(.*)/catalog/([0-9]+)_([0-9]+)\.html$ $1/modules/article/articlelist\.php\?class=$2&page=$3 [L]
#RewriteRule ^(.*)/book/([0-9]+)\.html$ $1/modules/article/articleinfo\.php\?id=$2 [L]
再請(qǐng)?jiān)诰W(wǎng)站后臺(tái)的偽靜態(tài)里設(shè)置依次如下:
[color=Red]
/book/<{$id}>.html
/catalog/<{$class}>-<{$page}>.html
/initial/<{$initial}>-<{$page}>.html
/toplist/<{$sort}>-<{$page}>.html
[/color]
以上內(nèi)容的前提條件為html已經(jīng)做好了映射
不愿意復(fù)制的,就注冊(cè)個(gè)ID下載吧,直接解壓到含有偽靜態(tài)主機(jī)的根目錄即可;
[/code]點(diǎn)擊下載此文件
問(wèn)題未解決?付費(fèi)解決問(wèn)題加Q或微信 2589053300 (即Q號(hào)又微信號(hào))右上方掃一掃可加博主微信
所寫(xiě)所說(shuō),是心之所感,思之所悟,行之所得;文當(dāng)無(wú)敷衍,落筆求簡(jiǎn)潔。 以所舍,求所獲;有所依,方所成!
謝謝,我下載了,照文章操作好像不行,好像少了點(diǎn)東西。
后臺(tái)還得設(shè)置的