title: Redirect to index.html for S3 subfolder
body: <p>I have a domain <code>example.com</code>. I have a S3 bucket named <code>example.com</code> setup with an <code>index.html</code> file that works. Now I like to create two subfolders called <code>old</code> and <code>new</code>, each containing a separate version of a single page application. Requesting <code>https://example.com/old</code> (I like to omit the <code>index.html</code> when entering the request in address bar for browser) would open the <code>index.html</code> file in the <code>old</code> subfolder and requesting <code>https://example.com/new</code> would open the <code>index.html</code>. What is the best way of doing these redirects? Should I set something up in Route 53 <code>example.com/old</code> -> <code>example.com/old/index.html</code> or is there a better way of doing it?</p>