DO NOT REPLY [Bug 10434] - mod_rewrite doesn't fill the variables as HTTPS 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 klaus.wagner@it-austria.com 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 >>
- There is a
bug in the mod_rewrite Variable Handling
- 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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
Received on Mon Oct 28 14:43:07 2002
This archive was generated by hypermail 2.1.8
: Wed Aug 23 2006 - 16:44:00 EDT
|