brian 99/01/19 20:47:10
Modified: htdocs/manual/vhosts mass.html
Log:
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.
Revision Changes Path
1.2 +3 -3 apache-1.3/htdocs/manual/vhosts/mass.html
Index: mass.html
===================================================================
RCS file: /home/cvs/apache-1.3/htdocs/manual/vhosts/mass.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mass.html 1999/01/15 00:57:10 1.1
+++ mass.html 1999/01/20 04:47:08 1.2
@@ -86,7 +86,7 @@
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 @@
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 @@
<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
<Directory /www/commercial>