diff options
author | Graham Leggett <minfrin@apache.org> | 2022-01-20 23:13:24 +0100 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2022-01-20 23:13:24 +0100 |
commit | 62db0c63abc6b66343eaa73a4811f8a1605f3366 (patch) | |
tree | 49c650f2aeed1e491db9e0ba43f52886b9073e40 /docs | |
parent | SEDERR_TMAMES and SEDERR_TMRMES are used only in sed1.c with 'eval->lnum' as ... (diff) | |
download | apache2-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.xml | 55 |
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"> -<Directory ~ /home/%{env:MATCH_PARTITIONNAME}/dav/ ^/dav/(?<PARTITIONNAME>[^/]+)/> - Dav on -</Directory> - </highlight> - <p><strong>Note that the default access for <code><Directory "/"></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><DirectoryMatch [<var>expr</var>] <var>regex</var>> +<syntax><DirectoryMatch <var>regex</var>> ... </DirectoryMatch></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 </DirectoryMatch> </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"> -<DirectoryMatch /home/%{env:MATCH_PARTITIONNAME}/dav/ ^/dav/(?<PARTITIONNAME>[^/]+)/> - Dav on -</DirectoryMatch> - </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> </Location> </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"> -<Location ~ /dav/%{env:MATCH_PARTITIONNAME} ^/dav/(?<PARTITIONNAME>[^/]+)/> - Dav on -</Location> - </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><LocationMatch - [<var>expr</var>] <var>regex</var>> ... </LocationMatch></syntax> + <var>regex</var>> ... </LocationMatch></syntax> <contextlist><context>server config</context><context>virtual host</context> </contextlist> @@ -3289,18 +3250,6 @@ matching URLs</description> </LocationMatch> </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"> -<LocationMatch /dav/%{env:MATCH_PARTITIONNAME} ^/dav/(?<PARTITIONNAME>[^/]+)/> - Dav on -</LocationMatch> - </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 |