From c16f760d79d09ec53cf04e1dcf407e4d1a48d5e8 Mon Sep 17 00:00:00 2001 From: MartinH0 Date: Fri, 31 Jan 2020 01:29:41 +0100 Subject: [PATCH] Update .htaccess 1. removed $ (dollar sign from line 14 2. changed line 8 from ".*" to "(.*)" --- public/.htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/.htaccess b/public/.htaccess index d554246d..680e1a5e 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -5,12 +5,12 @@ RewriteBase / RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d -RewriteRule .* - [L] +RewriteRule (.*) - [L] # if request is no valid file NOR directory RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # if static asset do not do anything -RewriteRule (.*)(css|js|html|png|jpe?g|gif|bmp|ico|json|csv|otf|eot|svg|svgz|ttf|woff|woff2|ijmap|pdf|tif|map)$ - [NC,L,R=404] +RewriteRule (.*)(css|js|html|png|jpe?g|gif|bmp|ico|json|csv|otf|eot|svg|svgz|ttf|woff|woff2|ijmap|pdf|tif|map) - [NC,L,R=404] # everything else should be redirected to /index.html so it can be routed by it RewriteRule (.*) /index.html [L]