From: Rich Bowen Date: Sat, 15 Jun 2002 02:48:16 +0000 (+0000) Subject: Corrected typo, and added note about Directory sections applying to X-Git-Tag: 2.0.38~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3213d51663805ba9866486ee779bb67f3788a157;p=apache 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 --- 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: