I've an application deployed in Tomcat with Apache as a webserver. So, when user hit the URL : https://foobar.com/foo
, the application page is rendered. I've a redirect configuration done in httpd.conf as follows
ProxyPass /foo https://dreams.pok.com:2820/foo
ProxyPassReverse /foo https://dreams.pok.com:2820/foo
Now the problem is, I want my users to just hit https://foobar.com and automatically get redirected to https://foobar.com/foo
.
How can this be achieved please ...?