diff options
author | Edward Rudd | 2004-09-20 02:51:50 +0000 |
---|---|---|
committer | Edward Rudd | 2004-09-20 02:51:50 +0000 |
commit | 651cf26f1ceeb683e9a069017225b27c6d6360bd (patch) | |
tree | 6cd103ada0abcfd294797a9e683c41fc3a028605 /functions.h | |
parent | 104bb4c049e8a672af96977434bda814feee83b8 (diff) |
auto table names for massVirtualhosting swap - with _
added 'V' logformat to log virtualhost according to canonical setting.
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 7 |
1 files changed, 6 insertions, 1 deletions
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) | |||
99 | 99 | ||
100 | static const char *extract_virtual_host(request_rec *r, char *a) | 100 | static const char *extract_virtual_host(request_rec *r, char *a) |
101 | { | 101 | { |
102 | return apr_pstrdup(r->pool, r->server->server_hostname); | 102 | return r->server->server_hostname; |
103 | } | ||
104 | |||
105 | static const char *extract_server_name(request_rec *r, char *a) | ||
106 | { | ||
107 | return ap_get_server_name(r); | ||
103 | } | 108 | } |
104 | 109 | ||
105 | static const char *extract_machine_id(request_rec *r, char *a) | 110 | static const char *extract_machine_id(request_rec *r, char *a) |