Este é continuação de REDIRECT WEB EM APACHE
O
Redirect Total
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Redirect por Contexto
RewriteRule ^\(.*) https://%{HTTP_HOST}/$1
Redirect Parcial
RewriteRule ^/secure(.*) https://%{HTTP_HOST}%{REQUEST_URI}
O
mod_rewrite.so
, deve esta ativo.Redirect Total
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Redirect por Contexto
RewriteRule ^\(.*) https://%{HTTP_HOST}/$1
Redirect Parcial
RewriteRule ^/secure(.*) https://%{HTTP_HOST}%{REQUEST_URI}
Comentários