[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: redirecionamento http para https



Bom, existem algumas formas para fazer isto.....

1. a mais fácil pelo mod_alias:

Redirect / https://SITE/

ou alguma regra de RedirectMatch.

2. pelo mod_rewrite:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*) https://%{SERVER_NAME}/$1 [R,L]

Abraço!

Em 07/11/07, Leandro Moreira<leandro@leandromoreira.eti.br> escreveu:
>
> Caros,
> Configurei meu apache para funcionar com ssh (https) como faço para o
> apache redirecionar as requizições http para https automaticamente.
>
> Att.
>
> Leandro Moreira
>
>
> --
> To UNSUBSCRIBE, email to debian-user-portuguese-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>



Reply to: