From: Paolo Basenghi (paolo.basenghi_at_fcr.re.it)
Date: Thu May 19 2005 - 11:50:10 CEST
Message-ID: <428C6152.1090602@fcr.re.it> Date: Thu, 19 May 2005 11:50:10 +0200 From: Paolo Basenghi <paolo.basenghi@fcr.re.it> Subject: Re: [suse-sles-e] Apache2 + mod_rewrite +https truble (maybe SLES9 bug?)
I already tried it, but the SERVER_PORT was always 80, even with https,
even in RedHat (strange, but true!).
Do you use that configuration in the main host or in a virtual host?
Cheers
Paolo Basenghi
Ramon van Alteren wrote:
>Hi Paolo,
>
>Not using SuSE, but doing the same with my own setup.
>However I'm using SERVERPORT instead as redirect condition
>
>
>
>
>>RewriteEngine on
>>RewriteCond %{HTTPS} =off
>>RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R,L]
>>
>>
>
>RewriteEngine On
>RewriteCond %{SERVER_PORT} !^443$
>RewriteRule ^/(.*)$ https://%{HTTP_HOST}/$1 [R,L]
>
>
>
>>So I think is a SuSE distribution mod_rewrite bug or compilation issue.
>>Someone other hit this issue? There is a workaround?
>>
>>
>
>Would that qualify as an work-around ?
>
>Grtz,
>
>Ramon
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
>For additional commands, e-mail: suse-sles-e-help@suse.com
>
>
>
>
This archive was generated by hypermail 2.1.7 : Thu May 19 2005 - 11:50:26 CEST