]> granicus.if.org Git - apache/commitdiff
namded captures show up in the env with a MATCH_ prefix.
authorEric Covener <covener@apache.org>
Sun, 2 Nov 2014 21:15:40 +0000 (21:15 +0000)
committerEric Covener <covener@apache.org>
Sun, 2 Nov 2014 21:15:40 +0000 (21:15 +0000)
   http://httpd.apache.org/docs/2.4/sections.html#comment_3193

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1636195 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/sections.xml

index 2ac630a730c162fa6068ae507f0dd6576ba95503..a2d0f27f73a7656d47d9537099ed8e01afaaf8c9 100644 (file)
@@ -304,7 +304,7 @@ and modules like <module>mod_rewrite</module>.</p>
 
 <highlight language="config">
 &lt;DirectoryMatch ^/var/www/combined/(?&lt;SITENAME&gt;[^/]+)&gt;
-    require ldap-group cn=%{env:SITENAME},ou=combined,o=Example
+    require ldap-group cn=%{env:MATCH_SITENAME},ou=combined,o=Example
 &lt;/DirectoryMatch&gt;
 </highlight>