ITeye博客

Lighttpd设置虚拟主机与Jsp连接

Arden · 2008-05-21 08:55 · Markdown

$HTTP["host"] == “www.iding.com” {  url.rewrite-once = (”^/$” => “/index.jsp”)  server.document-root = ” /data/webapps/www/www.iding.com”   proxy.balance = “hash”   proxy.server  = ( “” =>            ( (             ”host” => “127.0.0.1″,             ”port” => 8001            ) )                     ) } $HTTP["host"] == “shop.iding.com” {  url.rewrite-once = (”^/$” => “/index.jsp”)  server.document-root = ” /data/webapps/www/shop.iding.com”   proxy.balance = “hash”   proxy.server  = ( “” =>            ( (             ”host” => “127.0.0.1″,             ”port” [...]

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。