diff options
author | Jean-François Fortin Tam <nekohayo@gmail.com> | 2018-07-22 09:11:30 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-07-23 12:49:14 -0700 |
commit | 88228c3510a604b2f9682c06642987d1cd1dba11 (patch) | |
tree | 9b4cc851c84c67811bc5a20158d023b871f77e60 /.htaccess | |
parent | 34909f771018adff524cff3c76b7bb8b2afa1c91 (diff) |
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)
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ ############################ # RewriteCond %{HTTPS} !=on - # RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] + # RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] </IfModule> <IfModule pagespeed_module> |