diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c
index 9f15023c6d..519b70eef5 100644
--- a/modules/proxy/mod_proxy.c
+++ b/modules/proxy/mod_proxy.c
@@ -1455,6 +1455,9 @@ static const char *
if (err)
return apr_pstrcat(cmd->temp_pool, "ProxyPass ", err, NULL);
}
+ else {
+ ap_proxy_update_balancer(cmd->pool, balancer, f);
+ }
for (i = 0; i < arr->nelts; i++) {
const char *err = set_balancer_param(conf, cmd->pool, balancer, elts[i].key,
elts[i].val);
diff --git a/modules/proxy/mod_proxy_balancer.c b/modules/proxy/mod_proxy_balancer.c
index 099b5ddb70..83c365d109 100644
--- a/modules/proxy/mod_proxy_balancer.c
+++ b/modules/proxy/mod_proxy_balancer.c
@@ -1198,10 +1198,10 @@ static int balancer_handler(request_rec *r)
balancer->s->name + sizeof(BALANCER_PREFIX) - 1,
"&nonce=", balancer->s->nonce,
"'>", NULL);
- ap_rvputs(r, balancer->s->name, "\n\n", NULL);
+ ap_rvputs(r, balancer->s->name, "\n", NULL);
ap_rputs("\n\n
"
"MaxMembers | StickySession | DisableFailover | Timeout | FailoverAttempts | Method | "
- "
\n", r);
+ "Path |
\n", r);
/* the below is a safe cast, since the number of slots total will
* never be more than max_workers, which is restricted to int */
ap_rprintf(r, "%d [%d Used] | \n", balancer->max_workers,
@@ -1225,6 +1225,11 @@ static int balancer_handler(request_rec *r)
ap_rprintf(r, "%d | \n", balancer->s->max_attempts);
ap_rprintf(r, "%s | \n",
balancer->s->lbpname);
+ ap_rputs("", r);
+ if (balancer->s->vhost && *(balancer->s->vhost)) {
+ ap_rvputs(r, balancer->s->vhost, " -> ", NULL);
+ }
+ ap_rvputs(r, balancer->s->vpath, " | \n", NULL);
ap_rputs("
\n
", r);
ap_rputs("\n\n