blob: 8fb87e4aa00c1b318cd8fd5aa7ed4056cb9ca8a4 (
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://%{HTTP_HOST}/admin$1 [L,R,NE]
RewriteRule /Security(.*) https://%{HTTP_HOST}/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>
|