{% else-1 %}
(8 май 2016, 16:48) (0/0) [0]
Najtel, У вас Linux или Windows?
Ну попробуйте это.

RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
(8 май 2016, 16:27) (0/0) [0]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  • 1 из 1