質問するログイン新規登録

質問編集履歴

1

追記

2016/08/03 03:06

投稿

dthani
dthani

スコア131

title CHANGED
File without changes
body CHANGED
@@ -10,4 +10,55 @@
10
10
  「403 Access Denied」でTomcatマネージャが開きません。
11
11
 
12
12
  他に設定箇所等があるのでしょうか?
13
- ご存知の方、お教えください。
13
+ ご存知の方、お教えください。
14
+
15
+ 下記、tomcat-users.xmlの中身です
16
+ ```ここに言語を入力
17
+
18
+ <?xml version='1.0' encoding='utf-8'?>
19
+ <!--
20
+ Licensed to the Apache Software Foundation (ASF) under one or more
21
+ contributor license agreements. See the NOTICE file distributed with
22
+ this work for additional information regarding copyright ownership.
23
+ The ASF licenses this file to You under the Apache License, Version 2.0
24
+ (the "License"); you may not use this file except in compliance with
25
+ the License. You may obtain a copy of the License at
26
+
27
+ http://www.apache.org/licenses/LICENSE-2.0
28
+
29
+ Unless required by applicable law or agreed to in writing, software
30
+ distributed under the License is distributed on an "AS IS" BASIS,
31
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32
+ See the License for the specific language governing permissions and
33
+ limitations under the License.
34
+ -->
35
+ <tomcat-users xmlns="http://tomcat.apache.org/xml"
36
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
37
+ xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
38
+ version="1.0">
39
+ <!--
40
+ NOTE: By default, no user is included in the "manager-gui" role required
41
+ to operate the "/manager/html" web application. If you wish to use this app,
42
+ you must define such a user - the username and password are arbitrary. It is
43
+ strongly recommended that you do NOT use one of the users in the commented out
44
+ section below since they are intended for use with the examples web
45
+ application.
46
+ -->
47
+ <!--
48
+ NOTE: The sample user and role entries below are intended for use with the
49
+ examples web application. They are wrapped in a comment and thus are ignored
50
+ when reading this file. If you wish to configure these users for use with the
51
+ examples web application, do not forget to remove the <!.. ..> that surrounds
52
+ them. You will also need to set the passwords to something appropriate.
53
+ -->
54
+ <!--
55
+ <role rolename="tomcat"/>
56
+ <role rolename="role1"/>
57
+ <user username="tomcat" password="<must-be-changed>" roles="tomcat"/>
58
+ <user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
59
+ <user username="role1" password="<must-be-changed>" roles="role1"/>
60
+ -->
61
+ <role rolename="manager-gui"/>
62
+ <user username="tomcat" password="s3cret" roles="manager-gui"/>
63
+ </tomcat-users>
64
+ ```