From 62db0c63abc6b66343eaa73a4811f8a1605f3366 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Thu, 20 Jan 2022 22:13:24 +0000 Subject: Revert 1897156. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1897273 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.xml | 55 ++---------------------------------------------- 1 file changed, 2 insertions(+), 53 deletions(-) (limited to 'docs') 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. the corresponding Directory will be applied.

-

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 - DirectoryMatch directive below.

- - -<Directory ~ /home/%{env:MATCH_PARTITIONNAME}/dav/ ^/dav/(?<PARTITIONNAME>[^/]+)/> - Dav on -</Directory> - -

Note that the default access for <Directory "/"> 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. DirectoryMatch Enclose directives that apply to the contents of file-system directories matching a regular expression. -<DirectoryMatch [expr] regex> +<DirectoryMatch regex> ... </DirectoryMatch> server configvirtual host @@ -1019,18 +1005,6 @@ the contents of file-system directories matching a regular expression. <DirectoryMatch "^/var/www/combined/(?<sitename>[^/]+)"> Require ldap-group cn=%{env:MATCH_SITENAME},ou=combined,o=Example -</DirectoryMatch> - - -

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.

- - -<DirectoryMatch /home/%{env:MATCH_PARTITIONNAME}/dav/ ^/dav/(?<PARTITIONNAME>[^/]+)/> - Dav on </DirectoryMatch> @@ -3198,19 +3172,6 @@ URLs </Location> -

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 LocationMatch directive below.

- - -<Location ~ /dav/%{env:MATCH_PARTITIONNAME} ^/dav/(?<PARTITIONNAME>[^/]+)/> - Dav on -</Location> - - Note about / (slash)

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 Applies the enclosed directives only to regular-expression matching URLs <LocationMatch - [expr] regex> ... </LocationMatch> + regex> ... </LocationMatch> server configvirtual host @@ -3289,18 +3250,6 @@ matching URLs </LocationMatch> -

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.

- - -<LocationMatch /dav/%{env:MATCH_PARTITIONNAME} ^/dav/(?<PARTITIONNAME>[^/]+)/> - Dav on -</LocationMatch> - - Note about / (slash)

The slash character has special meaning depending on where in a URL it appears. People may be used to its behavior in the filesystem -- cgit v1.2.3