blob: 17dc2ad68456189fa8337a8cc2a68736c43adacb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<%- if @location_path == '' -%>
<Directory "<%= @directory %>/">
AllowOverride FileInfo Indexes Options=All,MultiViews
Order deny,allow
Allow from all
</Directory>
<%- else -%>
AliasMatch ^/[a-z]{2}/<%=@location_path%>(/.+|/|)$ "<%=@directory%>/$1"
Alias /<%=@location_path%> "<%=@directory%>/"
<Directory "<%=@directory%>/">
AllowOverride FileInfo Indexes Options=All,MultiViews
Order deny,allow
Allow from all
</Directory>
<%- end -%>
|