Tema: Re: Apache http peradresavimas i https
Autorius: VaidasB
Data: 2008-12-03 13:42:57
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
> |------------|
> 
>