]> granicus.if.org Git - apache/commitdiff
Tony Finch says:
authorbrian <brian@unknown>
Wed, 20 Jan 1999 04:47:08 +0000 (04:47 +0000)
committerbrian <brian@unknown>
Wed, 20 Jan 1999 04:47:08 +0000 (04:47 +0000)
>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

index 4ecd952e2d207c802bf7a0c787631dba09b11117..10b763f85a42535a0e8b62ad4d9e518ebd445cdb 100644 (file)
@@ -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 <CODE>LogFormat</CODE> directive that includes
-<CODE>%v</CODE> for the virtual host makes it easy to do this.</P>
+<CODE>%{SERVER_NAME}e</CODE> for the virtual host makes it easy to do this.</P>
 
 
 <HR><H2><A NAME="overview">Overview of the technique</A></H2>
@@ -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
 
 &lt;Directory /www/hosts&gt;
@@ -273,7 +273,7 @@ sections.</P>
 <PRE>
 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
 
 &lt;Directory /www/commercial&gt;