Skip to content
Permalink
Browse files
Merge pull request #773 from tarasfrompir/patch-7
Update .htaccess
  • Loading branch information
sergejey committed Jul 15, 2020
2 parents ea8ed88 + fd4014a commit 2299f4139f53e21a5b33d4c73b1fcf57c093707e
Showing 1 changed file with 5 additions and 0 deletions.
@@ -38,6 +38,11 @@ deny from all
deny from all
</FILES>

<FilesMatch ".(htaccess|htpasswd|ini|phps|fla|sql|log|sh)$">
Order Allow,Deny
Deny from all
</FilesMatch>

<IfModule mod_expires.c>
<FilesMatch \.(gif|png|jpg|jpeg|ogg|mp4|mkv|flv|swf|wmv|asf|asx|wma|wax|wmx|wm)$>
ExpiresDefault "access plus 7 day"

0 comments on commit 2299f41

Please sign in to comment.