From 59b77c1eaa9990c013f6a23e1c8df1f7d06ca3f1 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Fri, 27 Aug 2010 11:00:03 +0000 Subject: [PATCH] emphasize sub-directory behavior, mention limitation of end-of-line ($) char. avoid example in sections.xml that uses DirectoryMatch with unmatchable $ git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@990096 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.xml | 7 ++++++- docs/manual/sections.xml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 43971074f0e..a4fa22d2ea5 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -801,7 +801,7 @@ subdirectories

DirectoryMatch and </DirectoryMatch> are used to enclose a group of directives which will apply only to the named directory and - sub-directories of that directory, the same as sub-directories of that directory, the same as Directory. However, it takes as an argument a regular expression. For example:

@@ -812,6 +812,11 @@ subdirectories

would match directories in /www/ that consisted of three numbers.

+ + End-of-line character +

The end-of-line character ($) cannot be matched with this directive.

+
+ Directory for a description of how regular expressions are mixed in with normal diff --git a/docs/manual/sections.xml b/docs/manual/sections.xml index 1ff37ba668c..5bebb83ec66 100644 --- a/docs/manual/sections.xml +++ b/docs/manual/sections.xml @@ -481,7 +481,7 @@ B
</Directory>
</VirtualHost>

-<DirectoryMatch "^.*b$">
+<DirectoryMatch "^.*b/">
C
</DirectoryMatch>

-- 2.47.2