Přesměrování z HTTP na HTTPS: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
(Založena nová stránka: <syntaxhighlight lang="text"> RewriteEngine On RewriteBase / RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} </syntaxhighlight>) |
Bez shrnutí editace |
||
| Řádek 5: | Řádek 5: | ||
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} | RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Kategorie:Webhosting| a]] | |||
[[Kategorie:Multihosting| a]] | |||
[[Kategorie:Ostatní| a]] | |||
[[Kategorie:Open source| a]] | |||
Verze z 27. 3. 2017, 09:07
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}