summaryrefslogtreecommitdiff
path: root/puppet/modules/site_static/templates/amber.erb
blob: 694f1136ad8027bca2d58d59588b9c483ec68570 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<%- if @location_path != '' -%>
  AliasMatch ^/[a-z]{2}/<%=@location_path%>(/.+|/|)$ "<%=@directory%>/$1"
  Alias /<%=@location_path%> "<%=@directory%>/"
<%- end -%>
  <Directory "<%=@directory%>/">
    AllowOverride FileInfo Indexes Options=All,MultiViews
<% if scope.function_guess_apache_version([]) == '2.4' %>
    Require all granted
<% else %>
    Order deny,allow
    Allow from all
<% end %>
  </Directory>