projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Drop dead bits in ftp_upload
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
apache
/
templates
/
vhost
/
_block.erb
1
<% if @block and ! @block.empty? -%>
2
3
## Block access statements
4
<% if @block.include? 'scm' -%>
5
# Block access to SCM directories.
6
<DirectoryMatch .*\.(svn|git|bzr)/.*>
7
<%- if scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
8
Require all denied
9
<%- else -%>
10
Deny From All
11
<%- end -%>
12
</DirectoryMatch>
13
<% end -%>
14
<% end -%>