title: htaccess protect all website but some paths
body: <p>I need to protect all <a href="http://domain.com" rel="nofollow">http://domain.com</a> with AuthType Basic, but leave <a href="http://domain.com/foo/bar" rel="nofollow">http://domain.com/foo/bar</a> 
  (http://domain.com/foo/bar is a rewrite url, not a folder)</p>
  
  <p>I read about location tag but it not work in htaccess file :(.</p>