Project

General

Profile

Download (326 Bytes) Statistics
| Branch: | Tag: | Revision:
<% if @block and ! @block.empty? -%>

## Block access statements
<% if @block.include? 'scm' -%>
# Block access to SCM directories.
<DirectoryMatch .*\.(svn|git|bzr)/.*>
<%- if @apache_version >= '2.4' -%>
Require all denied
<%- else -%>
Deny From All
<%- end -%>
</DirectoryMatch>
<% end -%>
<% end -%>
(2-2/20)