From f5c30d1f9fa1b0ba297f54a16ae2e21d95fbf4ee Mon Sep 17 00:00:00 2001 From: Richard Bowen Date: Sat, 15 Jun 2002 02:48:16 +0000 Subject: [PATCH] Corrected typo, and added note about Directory sections applying to files accessed via a different path, such as via symlinks. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95685 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.html.en | 10 +++++++++- docs/manual/mod/core.xml | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index a87c001014..3337e3b352 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -245,7 +245,7 @@ named file-system directory and sub-directories<Dircectory + match a `/' character, so <Directory /*/public_html> will not match /home/user/public_html, but <Directory /home/*/public_html> will match. Example:

@@ -255,6 +255,14 @@ named file-system directory and sub-directories +
+

Be careful with the directory-path arguments: They have +to literally match the filesystem path which Apache uses to access the +files. Directives applied to a particular <Directory> will not +apply to files accessed from that same directory via a different path, +such as via different symbolic links.

+
+

Extended regular expressions can also be used, with the addition of the ~ character. For example:

diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index dc23fe9d99..6e7ecdd070 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -391,7 +391,7 @@ named file-system directory and sub-directories Unix shell-style matching. In a wild-card string, `?' matches any single character, and `*' matches any sequences of characters. You may also use `[]' character ranges. None of the wildcards - match a `/' character, so <Dircectory + match a `/' character, so <Directory /*/public_html> will not match /home/user/public_html, but <Directory /home/*/public_html> will match. Example:

@@ -401,6 +401,14 @@ named file-system directory and sub-directories </Directory>
+ +

Be careful with the directory-path arguments: They have +to literally match the filesystem path which Apache uses to access the +files. Directives applied to a particular <Directory> will not +apply to files accessed from that same directory via a different path, +such as via different symbolic links.

+
+

Extended regular expressions can also be used, with the addition of the ~ character. For example:

-- 2.50.1