Update .htaccess

This commit is contained in:
Vincent BRIDIER 2022-04-29 09:22:06 +02:00
parent 0e25874f83
commit e8b1f286f9
No known key found for this signature in database
GPG key ID: 8571BFA20420D512

View file

@ -54,7 +54,7 @@ RewriteEngine on
RewriteRule ^content\/(.(?!.*\.css$|.*\.jpe?g$|.*\.ico$|.*\.png$|.*\.gif$|.*\.svg$|.*\.js$|.*\.eot$|.*\.ttf$|.*\.woff$|.*\.woff2$|.*\.mp4$|.*\.mp3$|.*\.ogg$|.*\.ogv$|.*\.mov$|.*\.docx$|.*\.doc$|.*\.pdf$|.*\.xml$|.*\.html$))*$ - [F]
# Protect conf files (non script or resource files)
<FilesMatch ^.*\.(json|lock|txt|crt)$>
<FilesMatch ^.*\.(lock|txt|crt)$>
deny from all
</FilesMatch>