httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hasselbaum <...@hasselbaum.net>
Subject [users@httpd] <If> directive within a <Location> section
Date Fri, 23 Jan 2015 20:21:01 GMT
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: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message