title: Apache LocationMatch everything except Shibboleth.sso
body: <p>I want Apache to match all locations, except <code>/Shibolleth.sso/*</code>
  I've a regEx wich does exactly what I want: <code>/^\/(?!Shibboleth\.sso)(.*)/</code> which can be tested here <a href="https://regex101.com/" rel="nofollow noreferrer">https://regex101.com/</a></p>
  
  <p>Unfortunately, Apache 2.4.10 has a different RegEx support. The negative lookehead works, but everything except <code>/</code> is excluded. <code>/Search/Results</code> returns 400 Bad Request. </p>
  
  <p>Apache 2.4 does not need to escape <code>/</code>, so my current LocationMatch is</p>
  
  <p><code>&lt;LocationMatch "^/(?!Shibboleth\.sso)(.*)"&gt;</code></p>
  
  <p>Does anyone know how to solve this? </p>