My current set up in Tomcat 7 is when I drop my Application.war to
`\Tomcat7\webapps\` directory, it gets auto deployed `\Tomcat7\webapps\root\`
directory.
To access my site in testing I use following
http:\\mytestserver.mysitename\Login.html
During testing I also noticed that if i do
http:\\mysitename\
it gets me to my default page [default.html]
I am trying to change the way this is currently set up to following
The auto deploy of `Application.war` can still occur to
`\Tomcat7\webapps\root\` directory.
To access site, I would like to use following URL
http:\\mytestserver.mysitename\Application.war\Login.html
and anyone using the previously bookmarked address
http:\\mytestserver.mysitename\Login.html
get redirected to
http:\\mytestserver.mysitename\Application.war\Login.html
I have the following redirect in my `apache/conf/httpd.conf`
JkMount /*.html ajp13
and my worker.properties file has following host info
worker.ajp13.host=http:\\mytestserver.mysitename
Reference used:
[How to set up sites in Tomcat7][1]
[How_do_I_make_my_web_application_be_the_Tomcat_default_application][2]
[1]:
http://wiki.apache.org/tomcat/HowTo#How_do_I_make_my_web_application_be_the_Tomcat_default_application_.3F
[2]:
http://wiki.apache.org/tomcat/HowTo#How_do_I_make_my_web_application_be_the_Tomcat_default_application.3F