htaccess for routing #2054

This commit is contained in:
2023-02-28 16:58:43 +01:00
parent be534559aa
commit 7dbb43e0ed
3 changed files with 32 additions and 6 deletions
+11
View File
@@ -0,0 +1,11 @@
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</IfModule>