From 4029b12a0911a25722b58a00843bc0e17c9351b4 Mon Sep 17 00:00:00 2001
From: brian
Date: Wed, 20 Jan 1999 04:47:08 +0000
Subject: [PATCH] Tony Finch says: >I just realised that this is wrong: the %v
won't work on 1.3.4 because >it always uses the canonical server name. It
should be changed to >%{SERVER_NAME}e.
So I've changed it accordingly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@82687 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/vhosts/mass.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/manual/vhosts/mass.html b/docs/manual/vhosts/mass.html
index 4ecd952e2d..10b763f85a 100644
--- a/docs/manual/vhosts/mass.html
+++ b/docs/manual/vhosts/mass.html
@@ -86,7 +86,7 @@ doing this is dubious anyway because it eats file descriptors. It's
better to log to a pipe or a fifo and arrange for the process at the
other end to distribute the logs (and perhaps accumulate statistics,
etc.). A LogFormat
directive that includes
-%v
for the virtual host makes it easy to do this.
+%{SERVER_NAME}e
for the virtual host makes it easy to do this.
@@ -156,7 +156,7 @@ care is taken to do a per-dynamic-virtual-host equivalent of
UseCanonicalName Off
# splittable logs
-LogFormat "%v %h %l %u %t \"%r\" %s %b" vcommon
+LogFormat "%{SERVER_NAME}e %h %l %u %t \"%r\" %s %b" vcommon
CustomLog logs/access_log vcommon
<Directory /www/hosts>
@@ -273,7 +273,7 @@ sections.
UseCanonicalName Off
-LogFormat "%v %h %l %u %t \"%r\" %s %b" vcommon
+LogFormat "%{SERVER_NAME}e %h %l %u %t \"%r\" %s %b" vcommon
CustomLog logs/access_log vcommon
<Directory /www/commercial>
--
2.50.1