summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2022-01-20 23:13:24 +0100
committerGraham Leggett <minfrin@apache.org>2022-01-20 23:13:24 +0100
commit62db0c63abc6b66343eaa73a4811f8a1605f3366 (patch)
tree49c650f2aeed1e491db9e0ba43f52886b9073e40 /docs
parentSEDERR_TMAMES and SEDERR_TMRMES are used only in sed1.c with 'eval->lnum' as ... (diff)
downloadapache2-62db0c63abc6b66343eaa73a4811f8a1605f3366.tar.xz
apache2-62db0c63abc6b66343eaa73a4811f8a1605f3366.zip
Revert 1897156.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897273 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r--docs/manual/mod/core.xml55
1 files changed, 2 insertions, 53 deletions
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml
index 1b98107146..e22545e8cf 100644
--- a/docs/manual/mod/core.xml
+++ b/docs/manual/mod/core.xml
@@ -926,20 +926,6 @@ named file-system directory, sub-directories, and their contents.</description>
the corresponding <directive type="section">Directory</directive> will
be applied.</p>
- <p>Some modules require the directory-path prefix in order to do their work,
- and when a regular expression is provided the directory-path is no longer
- available. From 2.5.1 onwards, an expression can be specified in addition
- to the regular expression that resolves to the directory-path prefix. This
- can allow complex mappings from the URL space to an effective directory.
- This funcionality is identical to that provided by the
- <directive>DirectoryMatch</directive> directive below.</p>
-
- <highlight language="config">
-&lt;Directory ~ /home/%{env:MATCH_PARTITIONNAME}/dav/ ^/dav/(?&lt;PARTITIONNAME&gt;[^/]+)/&gt;
- Dav on
-&lt;/Directory&gt;
- </highlight>
-
<p><strong>Note that the default access for
<code>&lt;Directory "/"&gt;</code> is to permit all access.
This means that Apache httpd will serve any file mapped from an URL. It is
@@ -973,7 +959,7 @@ named file-system directory, sub-directories, and their contents.</description>
<name>DirectoryMatch</name>
<description>Enclose directives that apply to
the contents of file-system directories matching a regular expression.</description>
-<syntax>&lt;DirectoryMatch [<var>expr</var>] <var>regex</var>&gt;
+<syntax>&lt;DirectoryMatch <var>regex</var>&gt;
... &lt;/DirectoryMatch&gt;</syntax>
<contextlist><context>server config</context><context>virtual host</context>
</contextlist>
@@ -1021,18 +1007,6 @@ the contents of file-system directories matching a regular expression.</descript
Require ldap-group cn=%{env:MATCH_SITENAME},ou=combined,o=Example
&lt;/DirectoryMatch&gt;
</highlight>
-
- <p>Some modules require the directory-path prefix in order to do their work,
- and when a regular expression is provided the directory-path is no longer
- available. From 2.5.1 onwards, an expression can be specified in addition
- to the regular expression that resolves to the directory-path prefix. This
- can allow complex mappings from the URL space to an effective directory.</p>
-
- <highlight language="config">
-&lt;DirectoryMatch /home/%{env:MATCH_PARTITIONNAME}/dav/ ^/dav/(?&lt;PARTITIONNAME&gt;[^/]+)/&gt;
- Dav on
-&lt;/DirectoryMatch&gt;
- </highlight>
</usage>
<seealso><directive type="section" module="core">Directory</directive> for
a description of how regular expressions are mixed in with normal
@@ -3198,19 +3172,6 @@ URLs</description>
&lt;/Location&gt;
</highlight>
- <p>Some modules require the URL-path prefix in order to do their work, and when
- a regular expression is provided the URL-path is no longer available. From
- 2.5.1 onwards, an expression can be specified in addition to the regular
- expression that resolves to the URL-path prefix. This can allow complex
- mappings from the URL space to an effective path. This funcionality is identical
- to that provided by the <directive>LocationMatch</directive> directive below.</p>
-
- <highlight language="config">
-&lt;Location ~ /dav/%{env:MATCH_PARTITIONNAME} ^/dav/(?&lt;PARTITIONNAME&gt;[^/]+)/&gt;
- Dav on
-&lt;/Location&gt;
- </highlight>
-
<note><title>Note about / (slash)</title>
<p>The slash character has special meaning depending on where in a
URL it appears. People may be used to its behavior in the filesystem
@@ -3246,7 +3207,7 @@ URLs</description>
<description>Applies the enclosed directives only to regular-expression
matching URLs</description>
<syntax>&lt;LocationMatch
- [<var>expr</var>] <var>regex</var>&gt; ... &lt;/LocationMatch&gt;</syntax>
+ <var>regex</var>&gt; ... &lt;/LocationMatch&gt;</syntax>
<contextlist><context>server config</context><context>virtual host</context>
</contextlist>
@@ -3289,18 +3250,6 @@ matching URLs</description>
&lt;/LocationMatch&gt;
</highlight>
- <p>Some modules require the URL-path prefix in order to do their work, and when
- a regular expression is provided the URL-path is no longer available. From
- 2.5.1 onwards, an expression can be specified in addition to the regular
- expression that resolves to the URL-path prefix. This can allow complex
- mappings from the URL space to an effective path.</p>
-
- <highlight language="config">
-&lt;LocationMatch /dav/%{env:MATCH_PARTITIONNAME} ^/dav/(?&lt;PARTITIONNAME&gt;[^/]+)/&gt;
- Dav on
-&lt;/LocationMatch&gt;
- </highlight>
-
<note><title>Note about / (slash)</title>
<p>The slash character has special meaning depending on where in a
URL it appears. People may be used to its behavior in the filesystem