Lighttpd:
url.rewrite = ( "^(.*)/htm/(.*)$" => "$1.php?$2", "^(.*)/simple/([a-z0-9/_]+/.html)$" => "$1/simple/index.php?$2" )
zeus 中設置 phpwind 無圖版與blog 的靜態URL重寫
進入 Virtual Server => Request Rewriting
Enabling Request Rewriting 設置 Enabled
并在Rewrite Script 中將一下代碼填入提交并 make it take effect. 即可
match URL into $ with ^(.*)-htm-(.*)$
if matched then
set URL = $1.php?$2
endif
match URL into $ with ^(.*)/simple/([a-z0-9/_]+/.html)$
if matched then
set URL = $1/simple/index.php?$2
endif
新聞熱點
疑難解答
圖片精選