title: Apache mod rewrite RewriteCond to exclude exactly one URL
body: <p>I need an Apache rewrite condition to rewrite ALL URLs except /health_check. This works, but rewrites /health_check, and any incoming request. Can anyone suggest a modification to the below rules?</p>
  
  <pre><code>RewriteCond %{HTTP:X-Forwarded-Proto} !https
  RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
  </code></pre>