Search

Language:  
Search for:

Available article translations:

Wie zwinge ich alle Besucher meiner Website, sichere Verbindungen zu nutzen (HTTPS)? (Linux)

Article ID: 112135, created on Mar 3, 2015, last review on Mar 3, 2015

APPLIES TO:
  • Plesk for Linux/Unix

Frage

Wie zwinge ich alle Besucher meiner Website, sichere Verbindungen zu nutzen (HTTPS)?

Antwort

  1. Stellen Sie sicher, dass das Apache-Modul mod_rewrite aktiviert ist:

    # httpd -t -D DUMP_MODULES | grep rewrite
    Syntax OK
     rewrite_module (shared)
    
  2. Erstellen Sie die Datei ".htaccess" im Dokumentenstammverzeichnis der Domain und fügen Sie folgende Konfiguration darin ein:

    <IfModule mod_rewrite.c>
        RewriteEngine on
        RewriteCond %{HTTPS} !=on
        RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,QSA]
    </IfModule>
    



a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Server Virtualization
- Odin Cloud Server
- Odin Containers for Windows 6.0
- Odin Virtuozzo Containers
Automation
- Odin Automation
- Odin Automation for Cloud Infrastructure
- Odin Business Automation Standard
- Odin Virtual Automation
- Odin Plesk Panel Suite
- Web Presence Builder
- Odin Plesk Automation
- Odin Small Business Panel
- Value-added Services for Hosters
- Odin Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification