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.
Proxy config contains:
RewriteRule /myapp/(*.) http://localmachine:8080/myapp/$1
The myapp/WEB-INF/web.xml contains:
The myapp/WEB-INF/struts-config.xml contains:
<forward name="Welcome" path="/Logon.do"
The myapp/index.jsp contains:
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
Could anyone tell me how to make this struts application work properly behind the reverse proxy?