Die Welt, das Chaos und ich

Die Welt, das Chaos und ich

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • Sample Page

Monthly Archives: August 2014

Apache: Alle Seitenzugriffe auf SSL umleiten

Posted on August 12, 2014 by haggis
Reply

Um unter Apache2 alle Seitenzugriffe automatisch auf SSL umzuleiten, müssen nur folgende Zeilen im <VirtualHost *:80>-Absatz stehen:

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

Posted in Uncategorized | Tagged Apache2, http, ssl | Leave a reply

Recent Posts

  • Apache: Alle Seitenzugriffe auf SSL umleiten
  • Edelstahl ätzen Part I: Tassenkobold
  • Hello world!
  • Tux on tour
  • Mein NAS

Recent Comments

  • Mr WordPress on Hello world!

Archives

  • August 2014
  • July 2014
  • December 2013
  • February 2013

Categories

  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress