blob: 89a605296bd73c75f57df6596b9e64994c2b3376 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<% if vhost_part != :ssl && ![false,'false'].include?(ssl_mode) -%>
# silverstripe
RedirectMatch /admin(.*) https://<%= servername %>/admin$1
RedirectMatch /Security(.*) https://<%= servername %>/Security$1
<% end -%>
<Directory "<%= documentroot %>/">
<%= scope.function_template(['apache/vhosts/partials/std_override_options.erb']) %>
<%= scope.function_template(['apache/vhosts/partials/php_settings.erb']) %>
<%= scope.function_template(['apache/vhosts/partials/authentication.erb']) %>
Include include.d/silverstripe.inc
</Directory>
|