title: Multiple Apache Rewrite Rules depending on domain plus rewriteCond within another rewriteCond
body: <p>Good day, please help me i have been struggling with this "simple" rewriteCond this is my original code:</p>
  
  <pre><code>######################################################################## Willowvine
  RewriteCond %{HTTP_HOST} !^willowvine\.dev$
  
  RewriteRule . - [S=1]
  
  RewriteRule ^admin/(.*)$ admininistration/$1 [QSA,L]
  ######################################################################## EndRules
  
  ######################################################################## Dove Rules
  RewriteCond %{HTTP_HOST} !^dove\.dev$
  
  RewriteRule . - [S=2]
  
  RewriteRule ^admin/(.*)$ admin_another/$1 [QSA,L] 
  RewriteRule ^(.*)$ /client/recruiter/4021/$1 [QSA,L]
  ######################################################################## End Dove Rules
  </code></pre>
  
  <p>I keep getting this error:</p>
  
  <blockquote>
    <p>Request exceeded the limit of 10 internal redirects due to probable
    configuration error. Use 'LimitInternalRecursion' to increase the
    limit if necessary. Use 'LogLevel debug' to get a backtrace.</p>
  </blockquote>
  
  <p>basically what i want to do is to do this:</p>
  
  <pre><code>if ${HTTP_HOST} == 'willowvine.dev/'    rewriterule 1: admin/* goes to
  administration/*   else if ${HTTP_HOST} == 'dove.dev'    rewriterule
  1:  admin/* goes to admin_another      rewriterule 2: if((${HTTP_HOST}
  + ${HTTP_URI}) != 'dove.dev/admin') root folder must start from /path/to/folder/start/he
  </code></pre>