A
A
AdamVelial2016-03-26 01:43:20
tomcat
AdamVelial, 2016-03-26 01:43:20

How to allow access to host manager in Apache Tomcat from another computer?

CentOS and apache tomcate 8 installed on VirtalBox, trial page works fine. When trying to enter the host manager, it returns an error 403, it does not ask for a login and password before that. Where is it configured?
UPD: When I try to log in, a message appears
83a3a269ad8f46609ff8889bcec4d5e1.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
exenza, 2016-03-27
@AdamVelial

$CATALINA_BASE/conf/tomcat-users.xmlYou need to set the role in the file :

<tomcat-users>
    <role rolename="admin"/>
    <role rolename="admin-gui"/>
    <role rolename="manager"/>
    <role rolename="manager-gui"/>
    <user username="name" password="pwd" roles="admin,admin-gui,manager,manager-gui"/>
</tomcat-users>

and restart tomcat

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question