Skip to content

Instantly share code, notes, and snippets.

@aschempp
Last active July 30, 2017 13:45
Show Gist options
  • Save aschempp/4147395 to your computer and use it in GitHub Desktop.
Save aschempp/4147395 to your computer and use it in GitHub Desktop.
htaccess: SSL erzwingen
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,NC,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment