By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,480 Members | 1,144 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,480 IT Pros & Developers. It's quick & easy.

Apache - Tomcat Integration with mod_jk

ak1dnar
Expert 100+
P: 1,584
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.
Jan 20 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.