I am trying to remove the context name from the URL of my server.Current URL - http://www.domainname.com/MyApp/What I need to make is to make it available at - www.domainname.com/So it is only going to host one main app and that needs to be displayed when we open www.domainname.com/ on browser.I have already tried couple of things like below - RewriteEngine OnRewriteCond %{REQUEST_URI} !^/(Context/.*)$RewriteRule ^/(.*)$ /Context/$1 [P,L]OR redirect permanent /MyApp/ abcd://domainname.comORUsing JKMount - JkMount /MyApp/* ajp13JkMount /MyApp* ajp13ORDeploy war file to ROOT of tomcat and make relevant chagnes in web and server.xml All of these aren't working and I keep getting a intenal error.I need a way to basically trim the tomcat URL to make short.
Need some help on tomcat URL mod_rewrite or mod_jk
apache;url;mod rewrite;tomcat