You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Emmanuel Pirsch <em...@pirsch.org> on 2009/12/01 17:13:55 UTC
[users@httpd] Environment variable in require ldap-group?
Hi,
Is there for the LDAP search string for require ldap-group to be based on
some variable (like an environment variable)?
I've tried something like the following without success :
<LocationMatch /hg/[\^]+>
require ldap-group CN=%{ENV:HG_GROUP},OU=SAVX,OU=Comptes et groupes de
services,DC=CDDDC01,DC=LOCAL
</LocationMatch>
I was setting the HG_GROUP variable using a rewrite rule like this :
RewriteRule ^/hg/([^/]+)/.* - [E=HG_GROUP:$1]
Thanks!