Mark,

On 6/4/24 01:50, Mark Thomas wrote:
On 04/06/2024 05:07, Tom Robinson wrote:
Hi,

We are running a tomcat7 application

You do realise that support for Tomcat 7 ended on 31 March 2021 don't you?

on our LAN which gets redirected from
a private, internal IP Address to an external ip address at which point it
fails. I can't find where this is happening.

Is it an actual redirect - i.e. a 30x response? Or do you mean something else?

If a redirect, does it redirect on the first request?

Where and what can I check for this redirect and how to control it or
switch it off all together.

Tomcat doesn't do this by default.

Tomcat 7 doesn't have the redirect valve so it won't be that.

Are you sure that the redirect is being issued by Tomcat? Might there be a reverse proxy in mix somewhere?

Other than that, it would have to be in the application code somewhere.

Or a server.xml <Connector> with a wildly incorrect set of proxy configuration attribute values.

I browse to here on our LAN:

https://myinternalhost.mydomain.com.au:8443

Check what myinternalhost.mydomain.com.au resolves to in terms of an IP address.

Try requesting a page that won't trigger a directory redirect. Something like:

https://myinternalhost.mydomain.com.au:8443/index.html

You may need to adjust that for your application.

And upgrade, for sure.

7.0: EOL
8.0: EOL
8.5: EOL

-chris

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

Reply via email to