Hi Guys,
I am using a virtual private server which runs Linux OS in it. On the server Apache and Tomcat has installed and to the best of my knowledge mod_jk also installed and working perfectly. In other words Apache is on Port and 80 and Tomcat is on 8080. but when I type
http://mydomain.com/MyWebContext/a_file_name.jsp
I can see the jsp pages inside tomcat webapps Dir, and If I need to access my phpmyadmin app which is inside Apache doc root, all I have to do type
http://mydomain.com/phpMyAdmin/
So I think Apache-tomcat Integration is fine.
Ok now my question:
I don't want to use this URL to access my web site
http://mydomain.com/MyWebContext/a_file_name.jsp
I need to use
http://mydomain.com/a_file_name.jsp
This way. Currently I have to use the "Web Context" Name also. The Entire web site is JSP. all I want to do send the request to Tomcat without using The Context Name.
Is It possible to hide this directory Name with mod_jk configuration level?
Or do I really have to use a URL rewriting?
Please take a look at in to this when you have a time. If my question is not clear, please give a me a shout I'll try to explain it more. Thanks.
I am using a virtual private server which runs Linux OS in it. On the server Apache and Tomcat has installed and to the best of my knowledge mod_jk also installed and working perfectly. In other words Apache is on Port and 80 and Tomcat is on 8080. but when I type
http://mydomain.com/MyWebContext/a_file_name.jsp
I can see the jsp pages inside tomcat webapps Dir, and If I need to access my phpmyadmin app which is inside Apache doc root, all I have to do type
http://mydomain.com/phpMyAdmin/
So I think Apache-tomcat Integration is fine.
Ok now my question:
I don't want to use this URL to access my web site
http://mydomain.com/MyWebContext/a_file_name.jsp
I need to use
http://mydomain.com/a_file_name.jsp
This way. Currently I have to use the "Web Context" Name also. The Entire web site is JSP. all I want to do send the request to Tomcat without using The Context Name.
Is It possible to hide this directory Name with mod_jk configuration level?
Or do I really have to use a URL rewriting?
Please take a look at in to this when you have a time. If my question is not clear, please give a me a shout I'll try to explain it more. Thanks.