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
新闻热点
疑难解答
图片精选