Tema: Re: Apache http peradresavimas i https
Autorius: Dr. ROX
Data: 2008-12-03 14:03:51
nelabai veikia sitas redirect permanent / https://domain.example.com/

bet idomiai, skiriasi nuo narsykles. Firefox veikia, IE7 veikia tik parasius 
su katalogu http://domain.example.com/dalykas

-- 

|------------|
Dr. ROX
|------------|
"VaidasB" <vaidas@NOSPAMpmbaltic.lt> wrote in message 
news:gh5rc1$54l$1@trimpas.omnitel.net...
>o kam taip sudetingai...
> su salyga kad apacho konfiga valdai
>
> <VirtualHost *:80>
>    ServerName domain.example.com
>    redirect permanent / https://domain.example.com.
> </VirtualHost>
>
>
>
> "Dr. ROX" <to.dr.rox@gmail.com.nutrinti> wrote in message 
> news:gh5r2b$4ht$1@trimpas.omnitel.net...
>> Reikia, kad http://domain.example.com autonmatiskai pasikeistu i
>> httpS://domain.example.com. Internete radau rewrite taisykliu, tai i
>> pagrindines direktorijos aprasyma idejau
>> RewriteEngine On
>> RewriteCond %{HTTPS} off
>> RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
>>
>> Toks dalykas veikia, bet tik kitiems katalogams, t.y. apsilankius
>> http://domain.example.com niekas nesikeicia, bet apsilankius
>> http://domain.example.com/dalykas persikeicia i https.
>>
>> Naudoju centos 5.2
>>
>> -- 
>>
>> |------------|
>> Dr. ROX
>> |------------|
>>
>>