Sponsor-Board.de
Problem mit Apache2

+- Sponsor-Board.de (https://www.sponsor-board.de)
+-- Forum: Community (/forumdisplay.php?fid=56)
+--- Forum: Hilfe (/forumdisplay.php?fid=102)
+---- Forum: Linux-Server (/forumdisplay.php?fid=105)
+---- Thema: Problem mit Apache2 (/showthread.php?tid=66159)


Problem mit Apache2 - M4RC3L - 08.06.2019 18:03

Hab das Problem, dass die autom. Weiterleitung zu SSL nicht funktioniert.

Inhalt der .htaccess:
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L]

Nutze Woltlab Suite.


RE: Problem mit Apache2 - Kevv - 08.06.2019 18:31

mod_rewrite aktiviert ?

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>




RE: Problem mit Apache2 - M4RC3L - 08.06.2019 18:55

Thema war schon geschlossen xd

Und nein, war nicht aktiviert. War die Lösung (+ AllowOverride aktivieren in der Config)