]> granicus.if.org Git - apache/commitdiff
Adds a stub starter file for mod_macro usage, to make people aware that it's there.
authorRich Bowen <rbowen@apache.org>
Mon, 21 Jan 2013 14:56:55 +0000 (14:56 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 21 Jan 2013 14:56:55 +0000 (14:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1436390 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/extra/httpd-macro.conf.in [new file with mode: 0644]
docs/conf/httpd.conf.in

diff --git a/docs/conf/extra/httpd-macro.conf.in b/docs/conf/extra/httpd-macro.conf.in
new file mode 100644 (file)
index 0000000..5d91319
--- /dev/null
@@ -0,0 +1,19 @@
+#
+# Macros within runtime configuration files
+#
+# Required modules: mod_macro
+#
+
+# <Macro DynamicVirtualHost $server>
+#    <VirtualHost *:80>
+#        ServerName $server
+#        DocumentRoot @@ServerRoot@@/vhosts/$server/htdocs
+#
+#        AccessLog logs/${server}_access.log
+#        ErrorLog logs/${server}_error.log
+#    </VirtualHost>
+#</Macro>
+#
+#Use DynamicVirtualHost www.example.com
+#Use DynamicVirtualHost www.example2.com
+#Use DynamicVirtualHost www.example3.com
index 159f6167da058ff0b3094d3b8efb2e2713d644ed..babe3ffd199bdb69d8c3a95935f717d020450998 100644 (file)
@@ -395,6 +395,9 @@ LogLevel warn
 # Policy enforcement
 #Include @rel_sysconfdir@/extra/httpd-policy.conf
 
+# Configuratio nmacros
+#Included @rel_sysconfdir@/extra/httpd-macro.conf
+
 # Configure mod_proxy_html to understand HTML4/XHTML1
 <IfModule proxy_html_module>
 Include @rel_sysconfdir@/extra/proxy-html.conf