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

From: Paolo Basenghi (paolo.basenghi_at_fcr.re.it)
Date: Thu May 19 2005 - 18:42:44 CEST


Message-ID: <428CC204.10901@fcr.re.it>
Date: Thu, 19 May 2005 18:42:44 +0200
From: Paolo Basenghi <paolo.basenghi@fcr.re.it>
Subject: Re: [suse-sles-e] Apache2 + mod_rewrite +https truble (maybe SLES9 bug?)

Dr. Peter Poeml wrote:

>On Thu, May 19, 2005 at 05:37:55PM +0200, Dr. Peter Poeml wrote:
>
>
>>>So I think is a SuSE distribution mod_rewrite bug or compilation issue.
>>>Someone other hit this issue? There is a workaround?
>>>
>>>
>>Not sure if it is a bug.
>>
>>
>
>I don't think it is a bug.
>
>I think it is set later in the request processing phase, for performance
>reasons.
>
>I'm confident that it will be finally set in the environment of a CGI
>program, though. In fact, it is possible that this (CGI) is the context
>which the documentation refers to.
>
>Regards,
>Peter
>
>
>
Sorry, but I completely disagree with your arguments. The HTTPS
environment variable is mod_rewrite specific, it is not a CGI variable
(like HTTP_HOST or SERVER_PORT), see
http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html#rewritecond

So, when mod_rewrite take control, this variable *must* be "on" or
"off", *regardless* of whether mod_ssl is loaded, as stated by
mod_rewrite official documentation.

So I continue thinking about a bug...

Cheers
Paolo Basenghi



This archive was generated by hypermail 2.1.7 : Thu May 19 2005 - 18:42:58 CEST