From: Graham Leggett Date: Mon, 30 Dec 2013 19:54:34 +0000 (+0000) Subject: Update transformation. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=979c759f9d87de32e04da83bfaf4fdac079d6a7b;p=thirdparty%2Fapache%2Fhttpd.git Update transformation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1554302 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 6ab30b4f366..4e9e33b61aa 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -971,6 +971,20 @@ the contents of file-system directories matching a regular expression. end of line ($) must be written with care. +

From 2.5.0 onwards, named groups and backreferences are captured and + written to the environment with the corresponding name in upper case. + This allows elements of paths to be referenced from within + expressions and modules like + mod_rewrite. In order to prevent confusion, numbered + (unnamed) backreferences are ignored. Use named groups instead.

+ +
+<DirectoryMatch ^/var/www/combined/(?<SITENAME>[^/]+)>
+    require ldap-group cn=%{env:SITENAME},ou=combined,o=Example
+</DirectoryMatch>
+
+ +

See also