From ba9908a5cca593247a333fd0d272679c81584a75 Mon Sep 17 00:00:00 2001
From: Rich Bowen
Date: Fri, 24 Dec 2004 19:29:15 +0000
Subject: [PATCH] As reported in bug ID 32635, the regex was not quite what it
promised to be. Thanks to dc@duke.edu
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@123298 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/core.html.en | 2 +-
docs/manual/mod/core.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en
index a0dbcd7e1a5..9bd3835e558 100644
--- a/docs/manual/mod/core.html.en
+++ b/docs/manual/mod/core.html.en
@@ -740,7 +740,7 @@ subdirectories
takes as an argument a regular expression. For example:
- <DirectoryMatch "^/www/.*/[0-9]{3}">
+ <DirectoryMatch "^/www/(.+/)?[0-9]{3}">
would match directories in /www/
that consisted of three
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index 6afa3e9359d..7e0f6e89531 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -694,7 +694,7 @@ subdirectories
takes as an argument a regular expression. For example:
- <DirectoryMatch "^/www/.*/[0-9]{3}">
+ <DirectoryMatch "^/www/(.+/)?[0-9]{3}">
would match directories in /www/
that consisted of three
--
2.47.2