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.
When it comes to destroying a civilization, gas chambers cannot hold a candle to echo chambers.
Crusading Chameleon likes the size of this ad:
how do I do my own kindle-like thing - without amazon