Gentoo Archives: gentoo-user-br

From: Alexandre Marcolino <alexandre.marcolino@×××××××.br>
To: gentoo-user-br@l.g.o
Subject: Re: [gentoo-user-br] Mod Rewrite Apache 2
Date: Tue, 02 May 2006 13:42:00
Message-Id: 1146577328.9263.9.camel@localhost
In Reply to: [gentoo-user-br] Mod Rewrite Apache 2 by Gessy
1 No seu browser chame assim
2
3 https://seila.com.br:80/
4
5 Caso contrario nao funcionara.
6
7 Em Ter, 2006-05-02 às 09:57 -0300, Gessy escreveu:
8 > Oi pessoal,
9 >
10 >
11 > Etou tentando utilizar o mod_rewrite do apache para redirecionar todas
12 > as chamadas ao apache na port 80 (http) para a porta 443 (https).
13 > Bem, eu coloquei a seguinte comfiguração no http.conf
14 >
15 > RewriteEngine On
16 > RewriteLogLevel 3
17 > RewriteLog "/var/log/apache2/rewrite.log"
18 >
19 > RewriteCond %{HTTPS} !=on
20 > RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [P,L]
21 >
22 > Estou usando o apache-2.0.55-r1 , gentoo-sources-2.6.15-r1.
23 >
24 > Valeu.
25 >
26 > --
27 > +-------------------------------------------------------------------+
28 > (o< Larry the Cow was a bit frustrated at the
29 > //\ current state of Linux distributions...
30 > V_/_ ... until he tried Gentoo Linux
31 > www.gentoo.org
32 > +-------------------------------------------------------------------+
33 >
34
35
36 Esta mensagem é confidencial e pode estar amparada por normas legais. Se você recebeu esta mensagem por engano, por favor nos avise respondendo ao e-mail e posteriormente o apague de seu sistema; você não deve copiar ou divulgar o conteúdo desta mensagem. Todas as mensagens enviadas a esta empresa, ou dela recebidas, podem ser monitoradas para assegurar a concordância com políticas internas e proteger nosso negócio.
37
38 Antes de imprimir pense em seu compromisso com o Meio Ambiente.
39
40 This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone. All messages sent to and from this company may be monitored to ensure compliance with internal policies and to protect our business.
41
42 Before printing, think about the Environment.
43
44 --
45 gentoo-user-br@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-br] Mod Rewrite Apache 2 Gessy <gessycaetano@×××××.com>