java - Context path for tomcat deployed web application -
i have deployed web application on tomcat7 , looking forward update virtual host map domain name application updating server.xml. approach correct? working on ubuntu os , not sure how context path web app. appreciated.
the context path of application name of war file. if want override it, can follow tomcat's documentation (https://tomcat.apache.org/tomcat-7.0-doc/config/context.html).
edit server.xml in conf folder of tomcat installation , make following changes.
<host name="localhost" appbase="webapps" unpackwars="true" autodeploy="true" xmlvalidation="false" xmlnamespaceaware="false"> <context path="/yoururl" docbase="yourapp" usehttponly="false"> <manager pathname="" /> </context> </host>
Comments
Post a Comment