blob: 3e22e75064942664bb6479b9472e3c8e7b95fb16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#PassengerLogLevel 1
#RackEnv production
#PassengerFriendlyErrorPages on
<%- if @location_path == '' -%>
<Directory "<%=@directory%>">
Order deny,allow
Allow from all
Options -MultiViews
</Directory>
<%- else -%>
Alias /<%=@location_path%> "<%=@directory%>"
<Location /<%=@location_path%>>
RackBaseURI /<%=@location_path%>
PassengerBaseURI /<%=@location_path%>
PassengerAppRoot "<%=File.dirname(@directory)%>"
</Location>
<Directory "<%=@directory%>">
Order deny,allow
Allow from all
Options -MultiViews
</Directory>
<%- end -%>
|