title: htaccess redirect / login on subfolder
body: <p>i got a question about <code>htaccess</code>.</p>
  
  <p>I got an page: <code>www.example.com</code>.</p>
  
  <p>When a visitor comes on <code>www.example.com</code>, he should be redirected to <code>www.google.de</code></p>
  
  <p>If i got to use <code>www.example.com/admin</code>, i want to have a <code>htaccess</code> login.</p>
  
  <p>When I am logged in and I go to <code>www.example.com</code> 
  i wanna see my normal page, and don't have the redirect to <code>www.google.de</code>.</p>
  
  <p>I googled a lot but didn't find the answer for this problem.</p>
  
  <p>I hope someone can help me.</p>
  
  <p>Thanks a lot</p>