From: Christophe Jaillet
Date: Wed, 13 Dec 2017 20:36:36 +0000 (+0000)
Subject: Fix a link as spotted by Benoit Wery in the comment system. (backport of r1818059)
X-Git-Tag: 2.4.30~228
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2beb4f945b2b0f8a73b81244a4a4745959062f16;p=apache
Fix a link as spotted by Benoit Wery in the comment system. (backport of r1818059)
Synch with trunk doc:
- Add some quotes to improve syntax hightlight
- Remove some trailing spaces.
- Mention mod_macro (backport of r1436578)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1818061 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/vhosts/mass.xml b/docs/manual/vhosts/mass.xml
index bf5e6fad19..e481c1768f 100644
--- a/docs/manual/vhosts/mass.xml
+++ b/docs/manual/vhosts/mass.xml
@@ -85,7 +85,7 @@
and arrange for the process at the other end to split up the log
files into one per virtual host. One example of such a process can
be found in the split-logfile
+ href="../programs/split-logfile.html">split-logfile
utility.
@@ -188,7 +188,7 @@ examples.
UseCanonicalName Off
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
-CustomLog logs/access_log vcommon
+CustomLog "logs/access_log" vcommon
# include part of the server name in the filenames
VirtualDocumentRoot "/home/%2/www"
@@ -232,18 +232,18 @@ LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
<VirtualHost 111.22.33.44>
ServerName www.commercial.example.com
-
+
CustomLog "logs/access_log.commercial" vcommon
-
+
VirtualDocumentRoot "/www/commercial/%0/docs"
VirtualScriptAlias "/www/commercial/%0/cgi-bin"
</VirtualHost>
<VirtualHost 111.22.33.45>
ServerName www.homepages.example.com
-
+
CustomLog "logs/access_log.homepages" vcommon
-
+
VirtualDocumentRoot "/www/homepages/%0/docs"
ScriptAlias "/cgi-bin/" "/www/std-cgi/"
</VirtualHost>
@@ -301,4 +301,14 @@ discussed in the rewrite
documentation.
+Mass virtual hosts with mod_macro
+
+Another option for dynamically generated virtual hosts is
+mod_macro, with which you can create a virtualhost
+template, and invoke it for multiple hostnames. An example of this is
+provided in the Usage section of the module
+documentation.
+
+
+