I would recommend reading the role settings from here first: https://tomcat.apache.org/tomcat-7.0-doc/manager-howto.html
Also, if everything is okay for you try using comma-separated roles e.g. roles=“manager-gui,admin”. Even better, try to create new roles and assign them correctly. See if that works for you. Thanks, On Thu, 25 Jul 2019 at 12:35, Hu, Zhiliang [AN S] <z...@iastate.edu> wrote: > I have Apache Tomcat/7.0.94 installed and running. However I had a hard > time to get to the ManagerApp and Host Manager to work properly. Briefly: > > If I set up "conf/tomcat-users.xml" as in: > <tomcat-users> > <role rolename="manager-gui"/> > <user username="user" password="pass" roles="manager-gui"/> > </tomcat-users> > -- The "/manager/html/" can get connected and "/host-manager/html" gets > "404 Access Denied"; > > If I set up "conf/tomcat-users.xml" as in: > <tomcat-users> > <role rolename="admin-gui"/> > <user username="user" password="pass" roles="admin-gui"/> > </tomcat-users> > -- The "/manager/html/" gets "404 Access Denied" and "/host-manager/html" > can get connected; > > If I set up "conf/tomcat-users.xml" as in: > <tomcat-users> > <role rolename="manager-gui"/> > <user username="user" password="pass" roles="manager-gui"/> > > <role rolename="admin-gui"/> > <user username="user" password="pass" roles="admin-gui"/> > </tomcat-users> > -- The "/manager/html/" can get connected and "/host-manager/html" gets > "404 Access Denied" -- obviously the second "rolename" overrides the first > one. > > How can I get both to work? > > Thanks in advance, > > ZL > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >