httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10434] New: - mod_rewrite doesn't fill the variables as HTTPS
Date Wed, 03 Jul 2002 10:17:25 GMT
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

           Summary: mod_rewrite doesn't fill the variables as HTTPS
           Product: Apache httpd-2.0
           Version: 2.0.39
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_rewrite
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: rudolf.wolf@dantax.cz


My OS is Debian with kernel 2.4.18.
I have the folowing code and go to https://somedomain/someplace, where the code 
is located in .htaccess file.

RewriteEngine        on
RewriteCond          %{REMOTE_ADDR} !^192\.168\.1\.[0-9]+$
RewriteCond          %{HTTPS} !=on
RewriteRule          .* - [F]

In the log I can see, that the variable HTTPS is not set to value 'on', but 
it's empty string. I tried other variables related to SSL, but the result was 
same. I recompile my old version of Apache 1.3.24 and use the same above rules 
and everything was OK.

The log:
192.168.201.15 - - [26/Jun/2002:16:40:48 +0200] [sova.dantax.cz/sid#81d22f8]
[rid#8250490/initial] (4) RewriteCond: input='192.168.201.15'
+pattern='!^192\.168\.201\.14$' => matched
192.168.201.15 - - [26/Jun/2002:16:40:48 +0200] [sova.dantax.cz/sid#81d22f8]
[rid#8250490/initial] (4) RewriteCond: input='' pattern='!=on' => matched
+REMARK this is %{HTTPS}  variable
192.168.201.15 - - [26/Jun/2002:16:40:48 +0200] [sova.dantax.cz/sid#81d22f8]
[rid#8250490/initial] (2) forcing '/var/www/htdocs/subarea/intra.html' to be
+forbidden

Rudolf Wolf

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message