summaryrefslogtreecommitdiff
path: root/templates/vhosts/php_silverstripe/partial.erb
blob: 9ff32dbdf789732bd05b84df6201a918e9fe03b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
    # silverstripe
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteCond %{HTTP:X-Forwarded-Proto} !=https
    RewriteRule /admin(.*) https://<%= servername %>/admin$1 [L,R,NE]
    RewriteRule /Security(.*) https://<%= servername %>/Security$1 [L,R,NE]

    <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>