Quantcast
Channel: Mingshi » rewrite
Browsing all 4 articles
Browse latest View live

Discuz在lighttpd里的rewrite规则

url.rewrite-once = ( "^(.*)/bbs/archiver/((fid|tid)-[w-]+.html)$" => "$1/bbs/archiver/index.php?$2", "^(.*)/bbs/forum-([0-9]+)-([0-9]+).html$" => "$1/bbs/forumdisplay.php?fid=$2&page=$3",...

View Article



WordPress在lighttpd里的rewrite规则

url.rewrite = ( "^/?$" => "/index.php", "^/(?.*)$" => "/index.php$1", "^/(wp-.+)$" => "$0", "^/([^.]+)/?$" => "/index.php?$1", ) 另外一个写法 $HTTP["host"] =~ “mingshi\.info” { var.wpdir = “/”...

View Article

Zenphoto在lighttpd里的rewrite规则

$HTTP["host"] =~ “your domains” { var.zendir = “/” url.rewrite-once = ( “^”+zendir+”admin/?$” => “$0″, “^(“+zendir+”(albums|cache|themes|zp-core).*)$” => “$1″, “^(“+zendir+”\?.*)” => “$1″,...

View Article

WordPress mu在nginx里的rewrite规则

1、域名泛解析; 2、nginx conf里rewrite规则 rewrite ^.*/files/(.*) /wp-content/blogs.php?file=$1; rewrite...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images