On 06/11/2024 21:17, Ivano Luberti wrote:
Hi, as stated in the subject, we had a correctly behaving tomcat 8.5 behind a reverse proxy implemented with Apache.

After upgrading to Tomcat 9  every request is seen by tomcat as coming from localhost.

Apache and Tomcat are running on the same machine and reverse proxy is implemented forwarding the request to localhost.

To say it all, before the upgrade requests arrived to tomcat via ip v4 and after upgrade via ip v6

I have seen in the doc that there is a filter in tomcat to deal with this, but I would like to know why it was working with tomcat 8.5 and not with tomcat 9 and if there is a solution properly configuring Apache without touching Tomcat

If you upgraded Tomcat and are seeing changes in behaviour then doesn't that suggest Tomcat, rather than httpd, is where you need to make changes?

We'll need more information to provide useful advice including:

- which protocol are you using to reverse proxy from httpd to Tomcat

- httpd configuration for the reverse proxy

- Tomcat Connector configuration for whichever port(s) httpd is passing
  requests to

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to