From 88228c3510a604b2f9682c06642987d1cd1dba11 Mon Sep 17 00:00:00 2001 From: Jean-François Fortin Tam Date: Sun, 22 Jul 2018 09:11:30 -0400 Subject: When forcing HTTPS, handle subfolder URLs properly This fixes the redirection for Kanboard instances in subdirectories (ex: /foo/bar/kanboard instead of the vhost's document root) --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index 7bfd6a95..f28b0ca7 100644 --- a/.htaccess +++ b/.htaccess @@ -26,7 +26,7 @@ ############################ # RewriteCond %{HTTPS} !=on - # RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] + # RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] -- cgit v1.2.3