From 4940b547f46a28c6f3bfa5bcae7c8848f5b3fc42 Mon Sep 17 00:00:00 2001 From: Takashi Sato Date: Wed, 21 May 2008 04:10:22 +0000 Subject: [PATCH] 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 --- docs/manual/mod/core.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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>
-- 2.40.0