Issue with 'Require expr' and pattern indents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,

I'm not sure if this may be a bug or a lack of understanding on my side.
I do access control for various <Location>'s like this:

---8<---
 <Location /some/path>
     <RequireAll>
      Require expr %{HTTP:X-SSL-Client} in { \
        '/DC=com/CN=Fool me not', \
        '/C=DE/O=MyCompany/CN=Some Dude' \
      }
      Require expr %{HTTP:X-SSL-Issuer} in { \
        '/C=DE/CN=My Project ROOT_CA', \
        '/DC=com/DC=Some Other/DC=Root CA' \
      }
    </RequireAll>
 </Location>
---8<---

'%{HTTP:X-SSL-Client}' and '%{HTTP:X-SSL-Issuer' is set in a upstream by a load balancer which terminates SSL/TLS as a HTTP-header. Works well so far. As long indents are made with space characters.
Problem is, when indentation is done with a tab, the following expression never matches.

Is this behavior plausible and/or wanted in any way?



Thanks,  Martin

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux