Zmiany pomiędzy wersją 5 and wersją 6 dla AdminGuide/ApacheSSL

Pokaż
Ignoruj:
Data i czas:
02/09/18 12:19:30 (6 years temu)
Autor:
jpo (IP: 83.144.106.170)
Komentarz:

--

Legend:

Bez zmian
Dodane
Usunięte
Zmienione
  • AdminGuide/ApacheSSL

    v5 v6  
    6868}}} 
    6969 
     70W przypadku zmiany Rewrite z http na https możemy także zastosować 
     71{{{ 
     72RewriteEngine On 
     73RewriteCond %{HTTPS} !=on 
     74RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] 
     75}}} 
     76 
     77{{{ 
     78RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L] 
     79}}}