title: Multiple RewriteConditions in Apache .htaccess configuration issue
body: <p>I'm trying to rewrite URLs that don't exist to use my index.php file while also appending the HTTP:Authorization environment variable to my script. So far I've only been able to get one or the other working at a time. Not both. Can someone tell me where is the error in my .htaccess?</p>
  
  <pre><code>RewriteEngine on
  
  # Get HTTP authorization
  RewriteCond %{HTTP:Authorization} ^Basic.*
  
  # Append to URL
  RewriteRule (.*) index.php?_auth=%{HTTP:Authorization} [QSA,L]
  
  # If a directory or a file exists, use it directly
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  # Otherwise forward it to index.php
  RewriteRule (.*) index.php?_auth=%{HTTP:Authorization} [QSA,L]
  </code></pre>