summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorRaoul Bhatia <raoul@bhatia.at>2014-12-30 09:34:06 +0100
committerRaoul Bhatia <raoul@bhatia.at>2015-01-11 10:00:16 +0100
commitfd0583a846ebf748e755d31d688e09d7f16768d8 (patch)
tree3f010b6dbb1acd07deb67ed1744acc52f5ffc992 /.htaccess
parent8c2075b9fc81dcb67c015dc8b1a7bb199c645991 (diff)
Explicitly deny access to newly created "Dockerfile"
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess2
1 files changed, 1 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 32c47f01e..275161166 100644
--- a/.htaccess
+++ b/.htaccess
@@ -34,7 +34,7 @@ RewriteRule ^(?!installer|[a-f0-9]{16})(\.?[^\.]+)$ - [F]
# - deny access to some locations
RewriteRule ^/?(\.git|\.tx|SQL|bin|config|logs|temp|tests|program\/(include|lib|localization|steps)) - [F]
# - deny access to some documentation files
-RewriteRule /?(README\.md|composer\.json-dist|composer\.json|package\.xml)$ - [F]
+RewriteRule /?(README\.md|composer\.json-dist|composer\.json|package\.xml|Dockerfile)$ - [F]
</IfModule>
<IfModule mod_deflate.c>