From: Takashi Sato
Date: Wed, 21 May 2008 18:13:31 +0000 (+0000)
Subject: Merge r658549 and r658793 from trunk:
X-Git-Tag: 2.2.9~137
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04540f54a191dba624eeb76df3feb3abdffbdb9b;p=thirdparty%2Fapache%2Fhttpd.git
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
---
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>