DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10434>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10434

mod_rewrite doesn't fill the variables as HTTPS





------- Additional Comments From [EMAIL PROTECTED]  2002-10-28 14:42 -------
By debugging the Apache Webserver I found following Workaround for the Bug 
(allthough I don't 
even know if this is a bug anymore)

in Apache 1.3.26 it worked this way:

RewriteCond 
%{HTTPS} !=on
RewriteRule ^.*$ /alternative.html

in Apache 2.0.43 the above syntax does 
not work anymore: use the following instead.

RewriteCond %{LA-U:ENV:HTTPS} 
!=on
RewriteRule ^.*$ /alternative.html


There are several Options >>

1. There is a 
bug in the mod_rewrite Variable Handling 
2. The Apache Strukture has changed that much, that a 
variable handling as it is in Apache 1.3 is impossible and has to be done with 
this workaround.
3. 
It should allways have been that way and Apache 1.3 had a bug to show the 
variables anyway.


If 
the points 2 or 3 apply I am a bit confused that the Apache Documentation lacks 
that much 
information. Nor there are any good examples showing the handling of these 
variables.
It isn't 
even mentioned that the prefixes LA-U and ENV can be combined.

Anyhow i am glad that Apache is 
working that fast, well and stable.

THANKS TO ALL DEVELOPERS ...

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to