title: htaccess exclude one url from Basic Auth
body: <p>I need to exclude one Url (or even better one prefix) from normal htaccess Basic Auth protection. Something like <code>/callbacks/myBank</code> or <code>/callbacks/.*</code>
  Do you have any hints how to do it?</p>
  
  <p>What I'm not looking for is how to exclude a file. 
  This has to be url (as this is solution based on PHP framework, and all urls are redirected with <code>mod_rewrite</code> to <code>index.php</code>). So there is no file under this URL. Nothing.</p>
  
  <p>Some of those urls are just callbacks from other services (No IP is not known so I cannot exclude based on IP) and they cannot prompt for User / Password.</p>
  
  <p>Current definition is as simple as:</p>
  
  <pre class="lang-sh prettyprint-override"><code>AuthName "Please login."
  AuthGroupFile /dev/null
  AuthType Basic
  AuthUserFile /xxx/.htpasswd
  require valid-user 
  </code></pre>