diff options
author | Aleksander Machniak <alec@alec.pl> | 2021-02-15 13:39:36 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2021-02-15 13:40:02 +0300 |
commit | fa8a73e0d1ae96abeab4fe46295d56f4d4161f0c (patch) | |
tree | 0be4103052d3141fbaf2498f6a237b910e6773df /.htaccess | |
parent | 277e66b2acddb697fb6394988b55e65c77cdaf23 (diff) |
Deny access to SECURITY.md and .ci
[skip ci]
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,9 +10,9 @@ RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico # in all locations except installer directory RewriteRule ^(?!installer|\.well-known\/|[a-zA-Z0-9]{16})(\.?[^\.]+)$ - [F] # - deny access to some locations -RewriteRule ^/?(\.git|\.tx|SQL|bin|config|logs|temp|tests|vendor|program\/(include|lib|localization|steps)) - [F] +RewriteRule ^/?(\.git|\.tx|\.ci|SQL|bin|config|logs|temp|tests|vendor|program\/(include|lib|localization|steps)) - [F] # - deny access to some documentation files -RewriteRule /?(README.*|meta\.json|composer\..*|jsdeps.json)$ - [F] +RewriteRule /?(README.*|SECURITY.*|meta\.json|composer\..*|jsdeps.json)$ - [F] </IfModule> <IfModule mod_deflate.c> |