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 avaialble at -
http://www.domainname.com/
I have already tried couple of things like below -
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/(Context/.*)$
RewriteRule ^/(.*)$ /Context/$1 [P,L]
redirect permanent /MyApp/ http://domainname.com
Using JKMount -
JkMount /MyApp/* ajp13
JkMount /MyApp* ajp13
Deploy 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.
Please put your suggestions if any.
Thanks,
Andy