title: rewriting subdomains with the full url
body: <p>i would like to redirect 3 different urls, all in one htaccess file. But at the moment it isn't working and only the first rule is always triggered.</p>
  
  <p>I would like to redirect the following:</p>
  
  <ol>
  <li>service.abc.info to www.abc.de</li>
  <li>service.abc.info/feedback/abc/ to feedback.abc.info/abc/</li>
  <li>service.abc.info/feedback/def/ to feedback.abc.info/def/</li>
  </ol>
  
  <p>For 2. and 3. I also need to redirect the complete Request URI.</p>
  
  <p>Here is my .htaccess file:</p>
  
  <pre><code>RewriteEngine on
  RewriteBase /
  
  RewriteCond %{HTTP_HOST} ^service\.abc\.info$ [NC]
  RewriteRule .* http://www.abc.de [R=301,L]
  
  RewriteCond %{HTTP_HOST} ^service\.abc\.info/feedback/abc/$ [NC]
  RewriteRule .* http://feedback.abc.info/abc/{REQUEST_URI} [R=301,L]
  
  RewriteCond %{HTTP_HOST} ^service\.abc\.info/feedback/def/$ [NC]
  RewriteRule .* http://feedback.abc.info/def/{REQUEST_URI} [R=301,L]
  </code></pre>