// 共享栏目---解析规则----开始 "([a-z0-9 \-\_]+)\/([0-9]+)" => "index.php?c=category&dir=$1&page=$2", //【共享栏目】模块栏目列表(分页)({dirname}/{page}/) "([a-z0-9 \-\_]+)" => "index.php?c=category&dir=$1", //【共享栏目】模块栏目列表({dirname}/) "([a-z0-9 \-\_]+)\/([0-9]+)-([0-9]+).html" => "index.php?c=show&id=$2&page=$3", //【共享栏目】模块内容页(分页)({dirname}/{id}-{page}.html) "([a-z0-9 \-\_]+)\/([0-9]+).html" => "index.php?c=show&id=$2", //【共享栏目】模块内容页({dirname}/{id}.html) // 共享栏目---解析规则----结束 // 共享模块---解析规则----开始 "([a-z]+)\/search\/(.+).html" => "index.php?s=$1&c=search&rewrite=$2", //【共享模块】模块搜索页(分页)({modname}/search/{param}.html) "([a-z]+)\/search.html" => "index.php?s=$1&c=search", //【共享模块】模块搜索页({modname}/search.html) // 共享模块---解析规则----结束 // 独立模块---解析规则----开始 "([a-z]+)" => "index.php?s=$1", //【独立模块】模块首页({modname}/) "([a-z]+)\/([a-z0-9 \-\_]+)\/([0-9]+)" => "index.php?s=$1&c=category&dir=$2&page=$3", //【独立模块】模块栏目列表(分页)({modname}/{dirname}/{page}/) "([a-z]+)\/([a-z0-9 \-\_]+)" => "index.php?s=$1&c=category&dir=$2", //【独立模块】模块栏目列表({modname}/{dirname}/) "([a-z]+)\/([a-z0-9 \-\_]+)\/([0-9]+)-([0-9]+).html" => "index.php?s=$1&c=show&id=$3&page=$4", //【独立模块】模块内容页(分页)({modname}/{dirname}/{id}-{page}.html) "([a-z]+)\/([a-z0-9 \-\_]+)\/([0-9]+).html" => "index.php?s=$1&c=show&id=$3", //【独立模块】模块内容页({modname}/{dirname}/{id}.html) "([a-z]+)\/search\/(.+)" => "index.php?s=$1&c=search&rewrite=$2", //【独立模块】模块搜索页(分页)({modname}/search/{param}/) "([a-z]+)\/search" => "index.php?s=$1&c=search", //【独立模块】模块搜索页({modname}/search/) // 独立模块---解析规则----结束 // 共享栏目_copy---解析规则----开始 "list-([a-z0-9 \-\_]+)-([0-9]+).html" => "index.php?c=category&dir=$1&page=$2", //【共享栏目_copy】模块栏目列表(分页)(list-{dirname}-{page}.html) "list-([a-z0-9 \-\_]+).html" => "index.php?c=category&dir=$1", //【共享栏目_copy】模块栏目列表(list-{dirname}.html) "show-([0-9]+)-([0-9]+).html" => "index.php?c=show&id=$1&page=$2", //【共享栏目_copy】模块内容页(分页)(show-{id}-{page}.html) "show-([0-9]+).html" => "index.php?c=show&id=$1", //【共享栏目_copy】模块内容页(show-{id}.html) // 共享栏目_copy---解析规则----结束