summaryrefslogtreecommitdiffstats
path: root/docs/conf
diff options
context:
space:
mode:
authorRich Bowen <rbowen@apache.org>2013-01-21 15:56:55 +0100
committerRich Bowen <rbowen@apache.org>2013-01-21 15:56:55 +0100
commit4027c5641ed8dc35fd2f8e9cd191d46be6258fba (patch)
tree194b1e09a3d23b836c8c1da8dc3da7458f9c153b /docs/conf
parentupdate transformation (diff)
downloadapache2-4027c5641ed8dc35fd2f8e9cd191d46be6258fba.tar.xz
apache2-4027c5641ed8dc35fd2f8e9cd191d46be6258fba.zip
Adds a stub starter file for mod_macro usage, to make people aware that it's there.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1436390 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/conf')
-rw-r--r--docs/conf/extra/httpd-macro.conf.in19
-rw-r--r--docs/conf/httpd.conf.in3
2 files changed, 22 insertions, 0 deletions
diff --git a/docs/conf/extra/httpd-macro.conf.in b/docs/conf/extra/httpd-macro.conf.in
new file mode 100644
index 0000000000..5d91319823
--- /dev/null
+++ b/docs/conf/extra/httpd-macro.conf.in
@@ -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
diff --git a/docs/conf/httpd.conf.in b/docs/conf/httpd.conf.in
index 159f6167da..babe3ffd19 100644
--- a/docs/conf/httpd.conf.in
+++ b/docs/conf/httpd.conf.in
@@ -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