blob: b57fd1ee2d744a827977e7560b5b7ad86b8b5546 (
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>
|