Answer by A. Man for How to send a permanent (301) redirect from HTTP to...
We were able to get the desired behavior by adding a redirector.xml file next to the war. The contents of that file are below. Note that this will also redirect example.com to www.example.com:<?xml...
View ArticleHow to send a permanent (301) redirect from HTTP to HTTPS in Jetty 9
After following the suggestion on How to have Jetty redirect http to https, we were able to get our standalone Jetty deployment to redirect all HTTP requests to HTTPS. The redirect however is a 302....
View Article
More Pages to Explore .....