Contao 4 - htaccess small issue
Code:
# Rewrite all other queries to the front controller.
RewriteRule ^ %{ENV:BASE}/app.php [L]
Having above line in standard contao4 installation .htaccess file breaks the default behavior of a web server to serve index.html from a directory. Say for example, you have static html page named as index.html inside a directory "foo". With Contao 4 installation you can not see the page by calling "yourdomain.com/foo/" - error "ERR_TOO_MANY_REDIRECTS". It only works if your call "yourdomain.com/foo/index.html".
Is there any workaround? Not to mention you can add index.html at the end. But in my case, there are many such URLs already published.