Hallo,
ich werde gerade aus den bisherigen Foreneinträgen nicht schlau. Wohin muss die .htaccess bei Contao 4.X? Ins Verzeichnis /web/? Und ist das so korrekt (mit www und immer mit https):
Vielen Dank für die Antworten!Code:# Sets the HTTP_AUTHORIZATION header removed by Apache
RewriteCond %{HTTP:Authorization} .
RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.domain.com/$1 [R=301,L]