Best tomcat team,

Hereby I have a question about an issue I found by using RewriteValve on
tomcat 9.30

The rewrite.config is very simple:

*RewriteCond %{HTTP_HOST} <>RewriteRule ^.*$ <> [R=301,L]*

All I want is just redirect a naked root domain to a www domain with HTTPS.

The redirection works on HTTP but not HTTPS. => *works*

[image: image.png]

*https*:// => *does not work*
[image: image.png]

I believe that there is something wrong with RewriteValve, or probably
related to he new sslhostconfig element, which is introduced from 8.5,
because the same rule works before on tomcat 8.0.

Best regards,


P.S. I originally make a bug report here:

Reply via email to