Re: [suse-sles-e] Apache2 + mod_rewrite +https truble (maybe SLES9 bug?)

From: Ramon van Alteren (ramon_at_vanalteren.nl)
Date: Thu May 19 2005 - 11:45:45 CEST


From: Ramon van Alteren <ramon@vanalteren.nl>
Date: Thu, 19 May 2005 11:45:45 +0200
Message-Id: <200505191145.45697.ramon@vanalteren.nl>
Subject: Re: [suse-sles-e] Apache2 + mod_rewrite +https truble (maybe SLES9 bug?)

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:45:51 CEST