From 04540f54a191dba624eeb76df3feb3abdffbdb9b Mon Sep 17 00:00:00 2001
From: Takashi Sato
Date: Wed, 21 May 2008 18:13:31 +0000
Subject: [PATCH] Merge r658549 and r658793 from trunk:
the example for IfDefine
*make the example for IfDefine use multiple-parameter.
Pointed out by: Andrew Ford
* and minor cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@658794 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/core.xml | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index 3d2ec40e85c..bc481f43d72 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -1394,13 +1394,28 @@ if a test is true at startup
multiple-parameter tests. Example:
- httpd -DReverseProxy ...
+ httpd -DReverseProxy -DUseCache -DMemCache ...
# httpd.conf
<IfDefine ReverseProxy>
- LoadModule rewrite_module modules/mod_rewrite.so
- LoadModule proxy_module modules/libproxy.so
+ LoadModule proxy_module modules/mod_proxy.so
+ LoadModule proxy_http_module modules/mod_proxy_http.so
+ <IfDefine UseCache>
+
+ LoadModule cache_module modules/mod_cache.so
+ <IfDefine MemCache>
+
+ LoadModule mem_cache_module modules/mod_mem_cache.so
+
+ </IfDefine>
+ <IfDefine !MemCache>
+
+ LoadModule disk_cache_module modules/mod_disk_cache.so
+
+ </IfDefine>
+
+ </IfDefine>
</IfDefine>
--
2.47.2