Hi all,
I'm Running Apachec
Tomcat 5.5 and I'm wondering if it's possible to disable port 80 for certain URLs only - that is, not just commenting out the <Connector .... > for port 80 and thus disable it globally. My apache tomcat server hosts up a landing page (
http://youarehere.domain). On this landing page there are two links - one to
https://link1.domain/login.do, the other to
https://link1.domain/loginhere.do. However, we see that we can still manually type in
http://link1.domain/login.do and
http://link1.domain/loginhere.do and they work as well. We want to disable HTTP for these links that we have the SSL certs applied to while at the same type, leaving the landing page as an http site. Is this possible?
If not, how do I do a redirect for these HTTP sites? I've managed to config the web.xml file to get
http://link1.domain redirected
https://link1.domain but it also tries to redirect the landing page as well, which we don't want. I think it's just a matter of getting the syntax correct for the <url-pattern> section but I can't seem to get it right.
Any info on this would be greatly appreciated.
Thanks everyone.