[horde] htaccess conflict

Frank Lienhard frank at mclien.de
Tue Nov 15 19:26:49 UTC 2016


I installed horde on an shared hosted platform.
So now I end up with 2 .htaccess files:
/var/www/virtual/<USERNAME>/html/.htaccess
/var/www/virtual/<USERNAME>/html/horde/.htaccess

The first one ist processed by the provider to work and is configured to
force use of https.
Unfortunately the .htaccess of the horde path renders that useless.

It still works encrypted, but only if you explicitly use https:// in the
URL.

Since the .htaccess notes not to edit it, I have no idea how to fix this.

Here are the rules of the non-horde .htaccess file:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{ENV:HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

any hints are wellcome

mclien


More information about the horde mailing list