httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Pirsch <>
Subject [users@httpd] Environment variable in require ldap-group?
Date Tue, 01 Dec 2009 16:13:55 GMT

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

I was setting the HG_GROUP variable using a rewrite rule like this :

RewriteRule ^/hg/([^/]+)/.* - [E=HG_GROUP:$1]


View raw message