I have an apache server where authentication is required, but there are some calls that need to be allowed for all.
On off these calls is based on a query string for
In Apache 2.4 there's an easier way to do this without the rewrite.
You can use LocationMatch to match upto the QUERY_STRING, and then use an If block to match the contents of QUERY_STRING. i.e., something like this:
LocationMatch
QUERY_STRING
If
Require all granted