From 050515d99fbbd335e8d27275b1d5c9b0a021465f Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Sat, 3 Oct 2009 14:54:00 +0000 Subject: mod_cache: Fix uri_meets_conditions() so that CacheEnable will match by scheme, or by a wildcarded hostname. PR: 40169 Submitted by: Peter Grandi Reviewed by: Graham Leggett git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@821333 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_cache.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/manual') diff --git a/docs/manual/mod/mod_cache.xml b/docs/manual/mod/mod_cache.xml index 2375a0b15c..556de0dfd9 100644 --- a/docs/manual/mod/mod_cache.xml +++ b/docs/manual/mod/mod_cache.xml @@ -262,6 +262,17 @@ manager CacheEnable disk http://www.apache.org/
+

A hostname starting with a "*" matches all hostnames with + that suffix. A hostname starting with "." matches all + hostnames containing the domain components that follow.

+ + + # Match www.apache.org, and fooapache.org
+ CacheEnable disk http://*apache.org/
+ # Match www.apache.org, but not fooapache.org
+ CacheEnable disk http://.apache.org/
+
+

The no-cache environment variable can be set to disable caching on a finer grained set of resources in versions 2.2.12 and later.

-- cgit v1.2.3