tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio S. Cofino" <>
Subject Re: Strange URL rewrite when reverse proxy with Apache HTTP Server
Date Tue, 21 Feb 2017 22:05:59 GMT
Aaron, on tomcat instances change the redirectPort attributte on the http
conectó to the loabbalancer's port 443

My guess is that your webapp has restriction rule requesting SSL con
fidntial channel. Therefore the non-confidential to the 18080 port from the
balancer are redirected to the 23270 port, but it should be 443.


El 21/2/2017 19:46, "Aaron Gray" <> escribió:

I have an application server from a vendor that comes bundled with an
additional Apache Tomcat server.  The webapp SelfService.war is vendor
supplied too.

Here's my problem (IP's replaced to protect the innocent):


server1 https listen =
server2 https listen =
F5 load balancer hostname =
backend tomcat server =

mod_proxy configuration:
ProxyPass /SelfService
ProxyPassReverse /SelfService

When I access these DMZ webservers which mod_proxy back to Apache Tomcat as:
and <>
They load properly. Perfectly, every time!

When I access these DMZ webservers via the F5 load balancer (to which I
dont have access to, but the network folks configure for me), it hangs.
Eventually returns:
cant load.

No idea why the URL is being re-written with the ":23270".
I added static content to the server.xml on (Tomcat) to test:
<Context docBase="/path/to/tomcat/static" path="/static" />
Then put a simple index.html in there.  Accessing via the Apache Web
Servers works fine, but if you hit it with the Load Balancer it once again
adds the

Do you have any thoughts?  Thanks so much, I have been working with this
for weeks now with no success

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message