From: Takashi Sato Date: Wed, 21 May 2008 04:10:22 +0000 (+0000) Subject: make the example for IfDefine use multiple-parameter. X-Git-Tag: 2.3.0~600 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4940b547f46a28c6f3bfa5bcae7c8848f5b3fc42;p=apache make the example for IfDefine use multiple-parameter. Pointed out by: Andrew Ford git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@658549 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 094ae78bd0..cecced7521 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -1377,13 +1377,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
+ <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>