Thank you Mark for the inputs. There was indeed a RewriteValve configured. Updating rewrite.config solved the issue.
Thanks for help. Thanks, Atul Pendse From: Mark Thomas <ma...@apache.org> Date: Thursday, 1 December 2022 at 6:27 PM To: users@tomcat.apache.org <users@tomcat.apache.org> Subject: Re: Tomcat: Change default redirect status 302 On 01/12/2022 12:29, Atul Pendse wrote: What is redirecting: > http://test-host/api to https://test-host/tgc/index.html ? Tomcat won't do that out of the box so something in your application (or possibly something like the Rewrite valve) must be doing it. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org