You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tech Sadhu <te...@gmail.com> on 2015/08/16 17:43:18 UTC

[users@httpd] Redirection from www.example.com to login page at www.example.com/index.jsp

I have setup apache2 and tomcat7 on ubuntu 14.04.

my domain name is www.example.com , which I want to redirect to the
www.example.com/index.jsp on to the tomcat as this is the login page. How
can this be done? The set up works fine for a request made to
www.example.com/index.jsp. The apache virtualHost setting is ProxyPass /
ajp://localhost:8009/ ProxyPassReverse / ajp://localhost:8009/

the redirection in my understanding should happen on the apache. As the
apache is acting just as a proxy and not serving any requests by itself can
we use the directive ? Where and how to make the change. Any pointers
appreciated