Recently in the use of Tomcat, the first download is the TOMCAT6 configuration is ready to run but into the Apache manager even let me enter the account password did not bounce out, directly out of a fucking HTTP 401 toss for a half day or no success
Finally, I don't think I have a password for my lost account. This version is definitely out of tune with my computer. So I downloaded the tomcat7, and then I stopped Tomcat.
At this time only need to add the tomcat-user.xml inside the <tomcat-users> tags internally added to the last line of password self-set after the Tomcat and then use the browser back then enter the last line of the account password can be
That's it.
<role rolename= "Tomcat"/>
<role rolename= "Role1"/>
<user username= "Tomcat" password= "Tomcat" roles= "Tomcat"/>
<user username= "Both" password= "Tomcat" roles= "Tomcat,role1"/>
<user username= "Role1" password= "Tomcat" roles= "Role1"/>
<user username= "Manager" password= "root" roles= "Manager-gui"/>
And then there were all sorts of problems. Finally, a later version of the
Here to express the low version is not able to be configured on the high version will not Baidu Baidu to you so far
Really configure this can use Real to cry without tears
Tomcat Manager Configuration Detailed