diff options
author | Graham Leggett <minfrin@apache.org> | 2009-10-03 16:54:00 +0200 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2009-10-03 16:54:00 +0200 |
commit | 050515d99fbbd335e8d27275b1d5c9b0a021465f (patch) | |
tree | b3aa7d04380fbfcbbab5ed974bb7fca5c694c6a4 /docs/manual | |
parent | suexec: Allow to log an error if exec fails by setting FD_CLOEXEC (diff) | |
download | apache2-050515d99fbbd335e8d27275b1d5c9b0a021465f.tar.xz apache2-050515d99fbbd335e8d27275b1d5c9b0a021465f.zip |
mod_cache: Fix uri_meets_conditions() so that CacheEnable will
match by scheme, or by a wildcarded hostname.
PR: 40169
Submitted by: Peter Grandi <pg_asf asf.for.sabi.co.uk>
Reviewed by: Graham Leggett
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@821333 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/mod/mod_cache.xml | 11 |
1 files changed, 11 insertions, 0 deletions
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</description> CacheEnable disk http://www.apache.org/<br /> </example> + <p>A hostname starting with a <strong>"*"</strong> matches all hostnames with + that suffix. A hostname starting with <strong>"."</strong> matches all + hostnames containing the domain components that follow.</p> + + <example> + # Match www.apache.org, and fooapache.org<br /> + CacheEnable disk http://*apache.org/<br /> + # Match www.apache.org, but not fooapache.org<br /> + CacheEnable disk http://.apache.org/<br /> + </example> + <p> The <code>no-cache</code> environment variable can be set to disable caching on a finer grained set of resources in versions 2.2.12 and later.</p> |