Hallo Jungs,
ich stecke derzeit etwas fest. Wir haben eine Contao 3.5 Version die wir auf 4.4 updaten. Alles kein Problem. Jetzt jedoch komme ich beim Umstellen auf SSL ein paar Schwierigkeiten.
Was habe ich getan:
Im Startpunkt der Website SSL aktiviert
In der vhost-Datei bzw. ssl.conf
Code:
<VirtualHost *:443>
DocumentRoot "D:/htdocs/map/web"
ServerName etc.domain.de:443
ServerAlias etc.domain.de
DirectoryIndex index.html index.php
<Directory "D:/htdocs/map/web">
Order allow,deny
Allow from all
AllowOverride All
</Directory>
in der htaccess unter
D:htdocs/map/web
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
# Force HTTPS
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
.....
Die Website wird geladen aber ohne CSS. Ohne SSL funktioniert die Website wie sie soll.
Lesezeichen