Re: Tomcat host header redirect issue
Christopher Schultz <[email protected]> Wed, 22 Jul 2026 15:17:04 -0400
| Newsgroups | gmane.comp.jakarta.tomcat.user |
|---|---|
| Message-ID | <[email protected]> |
Anushka, On 7/21/26 6:15 AM, Anushka sur wrote: > As you suggested, we created a dedicated virtual host in the | > server.xml| file. However, even after adding the virtual host > configuration, the issue still persists. > > For example, when we access the application using: > > |https://sdcoradb5.hdfc.com:8083/ORDS <https://sdcoradb5.hdfc.com:8083/ > ORDS>| Can you be very clear about what you mean, here? If you make a request to sdcoradb5.hdfc.com:8083 using e.g. curl, presumably you will get a response from your application. If you make a request to bing.com using e.g. curl, then it will obviously contact Bing and not go to your application at all. Where does the "redirect" come into the picture? Note that "redirect" has a very specific meaning in the context of HTTP / web applications. -chris