I have an issue dealing with a struts application behind an apache proxy.
The url used through proxy is https://www.example.com/myapp/.
The proxy redirects to http://localmachine:8080/myapp/Logon.do.
So when the struts application redirects to new pages, the new pages fail to load.
I don't think you're actually using an Apache reverse proxy in the strict sense. I think you're just rewriting URLs.
Apache has 2 reverse proxy modules that can work with Tomcat: mod_jk and mod_proxy. You didn't supply the directives that would have made either of them do the proxying.
A true reverse proxy does more than just rewrite URLs. In fact, the Apache proxies forward the proxy requests over special channels using special protocols, so instead of talking to Tomcat port 8080 or 8443, they talk to port 8081, which is the Coyote Connector for proxy traffic.
And, incidentally. using an application-supplied login instead of letting Tomcat handle login via J2EE security is a lot less secure.
Being persecuted doesn't in any way prove your righteousness or your beliefs. Many people get persecuted because they are repugnant or annoying. Or just because they can be.
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
professionally read, modify and write PDF files from Java