I am hoping this is an easy question. I am not well versed in Java, I am a ITSM admin, but the ITSM product we use comes with Tomcat as it's web server. I am trying to find out if there is a simple way to set index file (welcome page) of a tomcat site to check for the requestURL() and redirect to certain URL's based on the requestURL().
Long story short I am trying to setup my site like this:
(**my tomact server is setup to receive requests on two different hostnames)
If end users reaches my page by going to then redirect to
OR
if end user reached my page by going to then redirect to
If anyone can shed some light or kindly point me in the right direction, I may be able save what hair I haven't pulled out yet.
Thanks
Long story short I am trying to setup my site like this:
(**my tomact server is setup to receive requests on two different hostnames)
If end users reaches my page by going to then redirect to
OR
if end user reached my page by going to then redirect to
If anyone can shed some light or kindly point me in the right direction, I may be able save what hair I haven't pulled out yet.
Thanks