Apache Tomcat/8.5.3 Manager App 403 error

后端 未结 3 1880
栀梦
栀梦 2021-02-11 03:03

I have tomcat running on an ubuntu instance on aws and I can successfully get to the If you\'re seeing this, you\'ve successfully installed Tomcat. Congratulations!

3条回答
  •  盖世英雄少女心
    2021-02-11 03:48

    This helped me to get it working. Tomcat manager never asking me ID/PASSWORD

    You need to add the manager.xml to conf/Catalina/localhost

    According to the documentation:

    "A default Tomcat installation includes the Manager. To add an instance of the Manager web application Context to a new host install the manager.xml context configuration file in the $CATALINA_BASE/conf/[enginename]/[hostname] folder"

    In my case for example, I have this path: /opt/tomcat/conf/Catalina/localhost

    Example of manager.xml

    
    
    

提交回复
热议问题