Tomcat 5.0.16 user configuration 2004-01-09 - By Michael Post
Back Hello,
i have installed the tomcat-server. It is running an i see the index.jsp-default-site.
The following part is be placed on the first site.
NOTE: For security reasons, using the administration webapp is restricted to users with role "admin". The manager webapp is restricted to users with role "manager". Users are defined in $CATALINA_HOME/conf/tomcat-users.xml.
Ok.. i have to create an user with the roles admin,manager that i have a "root" for the server.
My current text in the tomcat-users.xml-file is
--- <?xml version='1.0' encoding='utf-8 (See http://utf-8.ora-code.com)'?> <tomcat-users> <role rolename="tomcat"/> <role rolename="role1"/> <role rolename="admin"/> <role rolename="manager"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="role1" password="tomcat" roles="role1"/> <user username="michael" password="xxXxxXx" roles="admin,manager"/> </tomcat-users> ---
Now i restart the server with shutdown.sh and startup.sh. But if i want to login at the index.jsp - site i get an
HTTP Status 403 - Access to the requested resource has been denied
Error. What can i do? Where is my mistake? Is there always an default-root?
I use the binary-installation-files.
THX for answers.
Greets Michael
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|