Update .htaccess
This commit is contained in:
parent
0e25874f83
commit
e8b1f286f9
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue