title: Apache, redirect directory but keep sub-directory un-redirected
body: <p>In Apache, is it possible that I can redirect a directory on my website to a new address, but keep sub-directories un-redirected?</p>
  
  <p>For example, I wish to redirect accesses to files under</p>
  
  <pre><code>https://www.example.com/folder/ to
  https://www.newexample.com/folder/
  </code></pre>
  
  <p>i.e. from</p>
  
  <pre><code>https://www.example.com/folder/abc.html to
  https://www.newexample.com/folder/abc.html
  </code></pre>
  
  <p>But keep the access to its sub-folders unchanged?
  <a href="https://www.example.com/folder/subfolder/123.html" rel="nofollow">https://www.example.com/folder/subfolder/123.html</a> will not be redirected.</p>
  
  <p>Many thanks!</p>