https://issues.apache.org/bugzilla/show_bug.cgi?id=47591

--- Comment #3 from [email protected] 2011-07-28 12:48:27 UTC ---

why not use ap_get_server_name? And this function reflect the real virtualhost
configuration.

this simple patch work well for me:


--- apache2.3-trunk.orig/server/scoreboard.c    2011-07-21 11:13:55.000000000
+0000
+++ apache2.3-trunk/server/scoreboard.c    2011-07-27 10:12:13.000000000 +0000
@@ -492,7 +492,7 @@
                         REMOTE_NOLOOKUP, NULL), sizeof(ws->client));
             copy_request(ws->request, sizeof(ws->request), r);
             if (r->server) {
-                apr_cpystrn(ws->vhost, r->server->server_hostname,
+                apr_cpystrn(ws->vhost, ap_get_server_name(r),
                             sizeof(ws->vhost));
             }
         }

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to