I'm trying to do the same, and none of these tips work for me...
I want to make the Web interface fool proof by redirecting to https://<my host> when the user types in http://<my host>. The iptables thing doesn't work for me as it gives me an empty response (no headers) when I try to connect to port 80. I don't have any other iptables rules on the machine.
So I guess the way to go would be via the tomcat configuration. I'd be grateful for more hints. |