From 651cf26f1ceeb683e9a069017225b27c6d6360bd Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Mon, 20 Sep 2004 02:51:50 +0000 Subject: auto table names for massVirtualhosting swap - with _ added 'V' logformat to log virtualhost according to canonical setting. --- (limited to 'functions.h') diff --git a/functions.h b/functions.h index dcbc939..b35634a 100644 --- a/functions.h +++ b/functions.h @@ -99,7 +99,12 @@ static const char *extract_status(request_rec *r, char *a) static const char *extract_virtual_host(request_rec *r, char *a) { - return apr_pstrdup(r->pool, r->server->server_hostname); + return r->server->server_hostname; +} + +static const char *extract_server_name(request_rec *r, char *a) +{ + return ap_get_server_name(r); } static const char *extract_machine_id(request_rec *r, char *a) -- cgit v0.9.2