我已经搜集到常用的五种程序伪静态规则

phpwind伪静态规则

url.rewrite = ("^(.*)-htm-(.*)$" => "$1.php?$2")

WordPress伪静态规则

url.rewrite = (
"^/(wp-.+).*/?" => "$0",
"^/(sitemap.xml)" => "$0",
"^/(xmlrpc.php)" => "$0",
"^/(.+)/?$" => "/index.php/$1"
)

Discuz 伪静态规则

url.rewrite-once = (
"^/archiver/((fid|tid)-[\w\-]+\.html)$" => "archiver/index.php?$1",
"^/forum-([0-9]+)-([0-9]+)\.html$" => "forumdisplay.php?fid=$1&page=$2",
"^/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$" => "viewthread.php?tid=$1&extra=page=$3&page=$2",
"^/space-(username|uid)-(.+)\.html$" => "space.php?$1=$2",
"^/tag-(.+)\.html$" => "tag.php?name=$1"
)

Bo-Blog伪静态规则

url.rewrite   = (
"^(.*)/post/([0-9]+)/?([0-9]+)?/?([0-9]+)?/?$" => "$1/read.php?entryid=$2&page=$3&part=$4",
"^(.*)/page/([0-9]+)/([0-9]+)/?$" => "$1/index.php?mode=$2&page=$3",
"^(.*)/starred/([0-9]+)/?([0-9]+)?/?$" => "$1/star.php?mode=$2&page=$3",
"^(.*)/category/([^/]+)/?([0-9]+)?/?([0-9]+)?/?$" => "$1/index.php?go=category_$2&mode=$3&page=$4",
"^(.*)/archiver/([0-9]+)/([0-9]+)/?([0-9]+)?/?([0-9]+)?/?$" => "$1/index.php?go=archive&cm=$2&cy=$3&mode=$4&page=$5",
"^(.*)/date/([0-9]+)/([0-9]+)/([0-9]+)/?([0-9]+)?/?([0-9]+)?/?$" => "$1/index.php?go=showday_$2-$3-$4&mode=$5&page=$6",
"^(.*)/user/([0-9]+)/?$" => "$1/view.php?go=user_$2",
"^(.*)/tags/([^/]+)/?([0-9]+)?/?([0-9]+)?/?$" => "$1/tag.php?tag=$2&mode=$3&page=$4",
"^(.*)/component/id/([0-9]+)/?$" => "$1/page.php?pageid=$2",
"^(.*)/component/([^/]+)/?$" => "$1/page.php?pagealias=$2"
)

emlog3.3.0伪静态规则

url.rewrite-once = (
                        "^(.*)/post-([0-9]+).html$"=>"$1/index.php?post=$2",
                        "^(.*)/record-([0-9]+).html$"=>"$1/index.php?record=$2",
                        "^(.*)/tag-(.+).html$"=>"$1/index.php?tag=$2",
                        "^(.*)/page-([0-9]+).html$"=>"$1/index.php?page=$2",
                        "^(.*)/sort-([0-9]+).html$"=>"$1/index.php?sort=$2"
                    )