Make sure your app server is correctly configured to return the font-end proxy values when you call: -request.getServerName() -request.getServerPort()
Gabriel 2010/6/16 Jan Fröhlich <jan.froehl...@infomotion.de>: > Hi all, > > > > after (nearly) finishing a struts2 project with struts 2.1.8.1 we have an odd > issue testing the application behind an apache reverse proxy server. > > > > In web.xml is "index.jsp" as welcome page defined. Index.jsp contains just a > <% response.sendRedirect("home.action") %> (please don't ask if its > necessary). > > Home.action is secured by an LoginInterceptor that checks for a valid session > in some backend system and redirects to login.action if the session is > invalid. > > After a successful login through a login form, the home.action is called. > > > > In our test environment everything works fine with http. When we test it with > https behind an apache reverse proxy every redirect described above leads to > a switch in the protocol from https to http. Once the home.action is loaded, > and the following calls are made with jQuery, everything works fine. > > > > There is no absolute link in the application, we are always using relative > paths. > > > > Any help appreciated!! > > > > Regards, > > Jan > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org