From 48898a67b713b27411e42879449b4f7c6d0e402f Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 8 Oct 2021 10:03:03 +0200 Subject: [PATCH] fix rewrite rule for favicon --- .htaccess | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index e327f56c9..577662f59 100644 --- a/.htaccess +++ b/.htaccess @@ -6,7 +6,9 @@ Header set X-Content-Type-Options: "nosniff" RewriteEngine On -RewriteRule ^favicon.ico$ views/bootstrap/images/favicon.svg [L] +#RewriteRule "^favicon\.ico$" "-" [L] +#RewriteRule "^(favicon\.ico)$" %{HTTP_HOST}/views/bootstrap/images/favicon.svg [L,NC] +RewriteRule "(favicon\.ico)" /views/bootstrap/images/favicon.svg [L,NC] # Store the current location in an environment variable CWD to use # mod_rewrite in .htaccess files without knowing the RewriteBase