Hello. I'm trying to embed an <If> directive within a <Location>
section, but the settings within the <If> block are never applied.
Here's my configuration snippet:
<VirtualHost *>
...
<Location />
...
<If "true">
AuthLDAPBindDN "${AUTH_LDAP_BIND_DN}"
</If>
...
</Location>
</VirtualHost>
The full config file is at http://apaste.info/sXu. If I run the server
at trace8, I see the following in the log:
Evaluation of expression from
/etc/apache2/sites-enabled/reg-proxy.conf:27 gave: 1
I interpret this to mean that the condition evaluated to true, but the
AuthLDAPBindDN setting is not applied. If I comment out the <If>
lines, it works fine.
Is this a bug? Any help appreciated. Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]