Proxy lighttpd将目录代理到另一台服务器
in/etc/lighttpd/vhosts mod_代理已启用 但是什么也没有发生,example.com/sr/forward to 404 page on first server您的$HTTP[url]=~^/sr/{在$HTTP[host]子句中吗 您是否尝试过:Proxy lighttpd将目录代理到另一台服务器,proxy,lighttpd,Proxy,Lighttpd,in/etc/lighttpd/vhosts mod_代理已启用 但是什么也没有发生,example.com/sr/forward to 404 page on first server您的$HTTP[url]=~^/sr/{在$HTTP[host]子句中吗 您是否尝试过: $HTTP["host"] =~ "(^sample.com)$" { proxy.server = ( "/sr/" => ( ( "host" => "x.x.x.x",
$HTTP["host"] =~ "(^sample.com)$" {
proxy.server = (
"/sr/" => ( (
"host" => "x.x.x.x",
"port" => 80
) )
)
}
您的$HTTP[url]=~^/sr/{是否在$HTTP[host]子句中
您是否尝试过:
$HTTP["host"] =~ "(^sample.com)$" {
proxy.server = (
"/sr/" => ( (
"host" => "x.x.x.x",
"port" => 80
) )
)
}