htaccess for Angular 2+ (probably other JS) apps Posted on 31. March 2020 by btxtiger allow from all <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.html [L] </IfModule> Related posts Docker VirtualBox host IP Better usability for Nextcloud Windows Subsystem for Linux Configuration