I use the following Apache config to to check for certain headers in my requests:
<LocationMatch /test-headers/>
<RequireAll>
Require expr %{HTTP:header1} == 'abc'
Require expr %{HTTP:header2} == 'def'
</RequireAll>
</LocationMatch>
This works fine with Apache 2.3 and later as "RequireAll" is supported in the authz_core_module [1].
Is there a way to achieve the same with Apache 2.2.22?
[1] https://httpd.apache.org/docs/trunk/mod/mod_authz_core.html