Block access to .yaml files as well as .yml

This commit is contained in:
Simon Welsh 2013-07-01 12:59:31 +12:00
parent 93f206a125
commit 4fd75527dc

View File

@ -12,7 +12,7 @@
# This denies access to all yml files, since developers might include sensitive
# information in them. See the docs for work-arounds to serve some yaml files
<Files *.yml>
<Files ~ "\.ya?ml$">
Order allow,deny
Deny from all
</Files>