blob: b34458c3794a2ed78ed99dbf394c1233429ae719 (
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>
|