fix rewrite rule for favicon

This commit is contained in:
Uwe Steinmann 2021-10-08 10:03:03 +02:00
parent 898943dd6e
commit 48898a67b7

View File

@ -6,7 +6,9 @@ Header set X-Content-Type-Options: "nosniff"
</IfModule>
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