summaryrefslogtreecommitdiff
path: root/templates/vhosts/php_silverstripe/partial.erb
blob: a3988291f9151ebda13845df3d7bc37a9cfb682b (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>