問下獨立模塊偽靜態(tài) 不支持 - 來分割嗎?/正常 換成-就無法正常解析
欄目頁 {modname}/list-{id}.html
欄目分頁 {modname}/list-{id}-{page}.html
內(nèi)容頁 {modname}/show-{id}.html
幫看下是下面規(guī)則不正確?
幫
/***********************獨立模塊測試規(guī)則:欄目列表頁面分頁的偽靜態(tài)解析*************************/
"([a-z]+)\/list\-([0-9]+)\/([0-9]+).html(.*)" => 'index.php?s=$1&c=category&id=$2&page=$3',
/***********************獨立模塊測試規(guī)則:欄目列表頁面的偽靜態(tài)解析*************************/
"([a-z]+)\/list\-([0-9]+).html(.*)" => 'index.php?s=$1&c=category&id=$2',
/***********************獨立模塊測試規(guī)則:內(nèi)容頁面分頁的偽靜態(tài)解析*************************/
"([a-z]+)\/show\-([0-9]+)\-([0-9]+).html(.*)" => 'index.php?s=$1&c=show&id=$2&page=$3',
/***********************獨立模塊測試規(guī)則:內(nèi)容頁面的偽靜態(tài)解析*************************/
"([a-z]+)\/show\-([0-9]+).html(.*)" => 'index.php?s=$1&c=show&id=$2',
完全可以用-分隔
偽靜態(tài)解析規(guī)則調(diào)試方法

開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!