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.


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.

Mark


I end up here:

https://a.b.c.d:8443/kb

Where a.b.c.d is our external, ISP provided IP Address.

Why is this happening and how can I fix it?

*Kind regards,*

*Tom Robinson*
*IT Manager/System Administrator*


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

Reply via email to