try to add roles : manager and admin
Le 07/06/2016 21:17, saved lion a écrit :
my host ip is 192.168.44.131, but it is 192.168.44.1 in the access log, is
it a problem?
inet addr:192.168.44.131 Bcast:192.168.44.255 Mask:255.255.255.0
On Tue, Jun 7, 2016 at 3:14 PM, saved lion <savedl...@gmail.com> wrote:
at the first, I added below entries, the problem is same.
<!-- user manager can access only manager section -->
<role rolename="manager-gui" />
<user username="manager" password="_SECRET_PASSWORD_" roles="manager-gui" />
<!-- user admin can access manager and admin section both -->
<role rolename="admin-gui" />
<user username="admin" password="_SECRET_PASSWORD_" roles="manager-gui,admin-gui"
/>
On Tue, Jun 7, 2016 at 3:09 PM, Hardibo Pierre-Jean <cont...@hardibopj.com
wrote:
me i put : manager, manager-ui, admin and admin-ui roles
Le 07/06/2016 21:07, saved lion a écrit :
Hi,
I installed an instance on /opt/tomcat9/apache-tomcat-9.0.0.M6/. No
problems to browse http://host_ip:8080.
There is one issue to access 'manager app," though I copied and pasted
the
two lines for role and user.
<tomcat-users xmlns="http://tomcat.apache.org/xml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://tomcat.apache.org/xml
tomcat-users.xsd"
version="1.0">
<role rolename="manager-gui"/>
<user username="tomcat" password="s3cret" roles="manager-gui"/>
</tomcat-users>
$ cat
/opt/tomcat9/apache-tomcat-9.0.0.M6/logs/localhost_access_log.2016-06-07.txt
192.168.44.1 - - [07/Jun/2016:11:08:37 -0700] "GET / HTTP/1.1" 200 11254
192.168.44.1 - - [07/Jun/2016:11:08:40 -0700] "GET /manager/html
HTTP/1.1"
403 3429
192.168.44.1 - - [07/Jun/2016:11:11:02 -0700] "GET / HTTP/1.1" 200 11254
192.168.44.1 - - [07/Jun/2016:11:12:26 -0700] "GET /manager/status
HTTP/1.1" 403 3429
192.168.44.1 - - [07/Jun/2016:11:15:50 -0700] "GET /manager/status
HTTP/1.1" 403 3429
192.168.44.1 - - [07/Jun/2016:11:15:55 -0700] "GET /manager/html
HTTP/1.1"
403 3429
192.168.44.1 - - [07/Jun/2016:11:55:58 -0700] "GET /manager/html
HTTP/1.1"
403 3429
$
The problem looks simple, it did spend couple of days.
Any quick help?
Thanks,
sl
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org