https://bz.apache.org/bugzilla/show_bug.cgi?id=59829
--- Comment #9 from Jean Weisbuch <[email protected]> --- Its unfortunately still not enough for the HTTPS variable to work with mod_rewrite, such rewriterules will not work and create a redirect loop : RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] Its not working because mod_rewrite doesnt rely on the "HTTPS" variable but it does call the mod_ssl function "ssl_is_https()". The code calling this function is located in "lookup_variable()" in mod_rewrite.c where it does : int flag = rewrite_is_https && rewrite_is_https(r->connection); So far i havent found a simple solution to this issue that wouldnt involve modifying mod_rewrite (or mod_ssl). -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
