#9 .htaccess verbietet den Download der woff, woff2 und js.map files

This commit is contained in:
Roland Rusch 2023-07-19 14:04:38 +02:00
parent 2eabd85b91
commit 57e398e7d4

View File

@ -4,7 +4,7 @@ Options -Indexes
# Deny access to all *.php # Deny access to all *.php
Order deny,allow Order deny,allow
Allow from all Allow from all
<FilesMatch "\.(css|jpg|jpeg|gif|png|svg|js|ico|css.map)$"> <FilesMatch "\.(css|jpg|jpeg|gif|png|svg|js|ico|css.map|woff|woff2|js.map)$">
Order Allow,Deny Order Allow,Deny
Allow from all Allow from all
</FilesMatch> </FilesMatch>