PhpWind教程:Lighttpd\zeus 下Phpwind程序靜態(tài)部署的Rewrite Rules_PhpWind教程
教程Tag:暫無(wú)Tag,歡迎添加,賺取U幣!
Lighttpd:
url.rewrite = ( "^(.*)/htm/(.*)$" => "$1.php?$2", "^(.*)/simple/([a-z0-9\_]+\.html)$" => "$1/simple/index.php?$2" )
zeus 中設(shè)置 phpwind 無(wú)圖版與blog 的靜態(tài)URL重寫(xiě)
進(jìn)入 Virtual Server => Request Rewriting
Enabling Request Rewriting 設(shè)置 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
相關(guān)PhpWind教程:
- PhpWind教程:PHPWind forum V7.5 SP1 使用與修復(fù)說(shuō)明
- PhpWind教程:PHPWind Forum V7.5 升級(jí)教程
- PHPWind7.3 升級(jí)7.3.2 圖文教程
- PhpWind教程:sitemap生成問(wèn)題
- PhpWind教程:熱榜排行 for 75
- PHPwind 6.3.2升級(jí)至PHPwind 7.3.2 圖文教程
- PHPWind 7.0 升級(jí)至PHPwind 7.3.2 圖文教程
- PHPWind 7.0 升級(jí)到PHPwind v7.3 圖文教程
- PHPWind 6.3.2升級(jí)到 PHPwind v7.3 圖文教程
- PHPWind6.3.2升級(jí)PHPWind7.0說(shuō)明教程
- PhpWind教程:PHPWind6.3(6.3rc、6.3) to PHPWind6.3.2升級(jí)教程
- PhpWind教程:PHPWind6.x(6.0rc、6.0) to PHPWind6.3.2升級(jí)教程
- 相關(guān)鏈接:
復(fù)制本頁(yè)鏈接| 搜索PhpWind教程:Lighttpd\zeus 下Phpwind程序靜態(tài)部署的Rewrite Rules
- 教程說(shuō)明:
PhpWind教程-PhpWind教程:Lighttpd\zeus 下Phpwind程序靜態(tài)部署的Rewrite Rules
。