title: Apache directory authentication against ldap groups
body: <p>I'm using <em>Apache 2.2.15</em> and I need a specified directory to authenticate against one of three LDAP groups. For example, I want that directory to be able to authenticate against either Group1, Group2, or Group3. If a user has one of these groups associated with their LDAP accounts then they should be able to access the content within this directory. In my <em>Httpd.conf</em> file I have the following block of code:</p>
  
  <pre><code>&lt;Directory /path/to/folder&gt;
      AuthName                 "Name of Authentication"
      AuthType                 Basic
      PerlSetVar BaseDN        dc=abc, dc=def, dc=ghi
      PerlSetVar LDAPServer    nameofldapserver
      PerlSetVar UIDAttr       uid
      PerlSetVar AuthGroup     (want this somehow be 3 groups)
      PerlSetVar CookieName    nameofcookie
      PerlSetVar SessionsDB    /path/to/sessions
      PerlAuthenHandler        Auth::Authldaphandler
      require valid-user
  &lt;/Directory&gt;
  </code></pre>
  
  <p>I've tried adding three groups in one line for AuthGroup but had no luck. I also created multiple declarations of AuthGroup to see if it would do anything, but also no luck. Any ideas on how to make this directory authenticate against one of the listed groups?</p>