diff options
Diffstat (limited to 'templates/vhosts/php_silverstripe/partial.erb')
-rw-r--r-- | templates/vhosts/php_silverstripe/partial.erb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/vhosts/php_silverstripe/partial.erb b/templates/vhosts/php_silverstripe/partial.erb index 9ff32db..b57fd1e 100644 --- a/templates/vhosts/php_silverstripe/partial.erb +++ b/templates/vhosts/php_silverstripe/partial.erb @@ -1,11 +1,11 @@ - # 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] + # 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 %>/"> + <Directory "<%= documentroot %>/"> <%= scope.function_template(['apache/vhosts/partials/std_override_options.erb']) %> @@ -13,5 +13,5 @@ <%= scope.function_template(['apache/vhosts/partials/authentication.erb']) %> - Include include.d/silverstripe.inc - </Directory> + Include include.d/silverstripe.inc + </Directory> |