How to change the ROOT application?

后端 未结 13 1325
终归单人心
终归单人心 2020-11-22 16:16

I\'m trying to change the default application of a Tomcat 6 webserver to a different application than \"ROOT\" (inside webapps folder). What is the best way to do this?

相关标签:
13条回答
  • 2020-11-22 16:52

    ROOT default app is usually Tomcat Manager - which can be useful so I felt like keeping it around.

    So the way i made my app ROOT and kept TCmgr was like this.

    renamed ROOT to something else

    mv ROOT TCmgr
    

    then created a symbolic link whereby ROOT points to the app i want to make the default.

    ln -s <your app> ROOT
    

    worked for me and seemed the easiest approach.

    0 讨论(0)
提交回复
热议问题