tomcat - Remove ttsvr in tooltwist workbench -


is possible remove or disable ttsvr in local tooltwist8 workbench? mean page should load without /ttsvr on address bar. i'm configuring urlrewrite.xml , want test directly in local machine. this, need disable ttsvr url have /n.

this possible editing 3 things.

a. server.xml - on bottom part, duplicate context tag , change path "/". this:

 <context docbase="ttsvr" path="/ttsvr" reloadable="false" source="org.eclipse.jst.jee.server:ttsvr"/> <context docbase="ttsvr" path="/" reloadable="false" source="org.eclipse.jst.jee.server:ttsvr"/> 

b. tooltwist.conf - remove value of <webappprefix>/ttsvr</webappprefix>

<webappprefix></webappprefix>

c. tomcat configuration

  • under server options, uncheck "serve modules without publishing".

  • under publishing, choose "automatically publish when resources change".


Comments