title: How to password control access to all urls except one in apache 2
body: <p>I want to password protect all urls on my beta site at the moment. Except one url because it is called by flash and flash can't handle basic auth properly it seems. So i want to disable basic auth for that one url. This is my config in apache. Apache is a proxy for tomcat but that should not matter right ?</p>
  
  <pre><code>&lt;IfModule mod_proxy_ajp.c&gt;
  ProxyRequests On
  ProxyVia On
  
  
  &lt;Location /uploader&gt;
  Order allow,deny
  Allow from all
  ProxyPass ajp://localhost:8050/uploader
  ProxyPassReverse ajp://localhost:8050/uploader
  &lt;/Location&gt;
  
  
  &lt;Location /&gt;
  Order allow,deny
  Allow from all
  AuthType Basic
  AuthName "Restricted area"
  AuthUserFile /etc/apache2/passwd/site-access
  Require valid-user
  ProxyPass ajp://localhost:8050/
  ProxyPassReverse ajp://localhost:8050/
  &lt;/Location&gt;
  
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>SO my thinking is that if <a href="http://www.example.com/uploader" rel="nofollow noreferrer">http://www.example.com/uploader</a> is called then the first location config is should be matched and no auth is required. </p>
  
  <p>This does not seem to work i always get asked for auth. Any ideas ?</p>
  
  <p>regards 
  Peter Delahunty</p>