From 5527717d5b5ddadb345ed3e18664384b43d55ecc Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Mon, 30 Dec 2013 19:54:34 +0000 Subject: [PATCH] Update transformation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1554302 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.html.en | 42 ++++++++++++++++++++++++++++++ docs/manual/mod/core.xml.de | 2 +- docs/manual/mod/core.xml.es | 2 +- docs/manual/mod/core.xml.ja | 2 +- docs/manual/mod/core.xml.tr | 2 +- docs/manual/mod/mod_proxy.html.en | 14 ++++++++++ docs/manual/mod/mod_proxy.xml.fr | 2 +- docs/manual/mod/mod_proxy.xml.ja | 2 +- docs/manual/mod/mod_proxy.xml.meta | 2 +- docs/manual/sections.html.en | 13 +++++++++ docs/manual/sections.xml.ja | 2 +- docs/manual/sections.xml.ko | 2 +- docs/manual/sections.xml.tr | 2 +- 13 files changed, 79 insertions(+), 10 deletions(-) diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 6ab30b4f36..4e9e33b61a 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