title: .htaccess - Redirect parent to subfolder but keep original URL and path
body: <p>I would need some help regarding an .htaccess problem. I am a beginner with apache configuration and i'm trying to do this :</p>
  
  <p>Given this file tree :</p>
  
  <pre><code>/myhost.com
  ├───services/
  │   ├───doc/
  │   │   ├───css
  │   │   ├───fonts
  │   │   ├───img
  │   │   ├───locales
  │   │   ├───vendor
  │   │   └───index.html
  │   ├───service1/
  │   ├───service2/
  │   └───service3/
  </code></pre>
  
  <ul>
  <li>I am trying to redirect the <strong>myhost.com/services</strong> route to myhost.com/services/doc/(index.html) by keeping the original URL</li>
  <li>I would also like to continue to access (service1/2/3) by the real URL (<em>myhost.com/services/service(1|2|3)</em>)</li>
  </ul>
  
  <p>My current .htaccess is this :</p>
  
  <pre><code>RewriteEngine on
  RewriteCond %{HTTP_HOST} myhost\.com[NC]
  RewriteCond %{REQUEST_URI} ^/services/?$
  RewriteRule ^(.*)$ /services/doc/ [R]
  </code></pre>
  
  <p>As you can see I use the <em>R</em> flag which makes everything works but its not keeping the original URL <em>/services/</em></p>
  
  <p>By not using the <em>R</em> flag the URL doesn't change, the good page is loaded <em>BUT</em> the resources needed by the html for example a script : <strong>(src="vendor/require.min.js")</strong> which paths are relative are not found :</p>
  
  <p>In console:
  GET <a href="https://www.myhost.com/services/vendor/require.min.js" rel="nofollow noreferrer">https://www.myhost.com/services/vendor/require.min.js</a> net::ERR_ABORTED</p>
  
  <p>Is there a way to make this work ?</p>
  
  <p><strong>PS</strong>: Of course I would like to not edit my index.html because its auto-generated</p>