source: nutchez-0.1/tomcat/webapps/manager/401.jsp @ 156

Last change on this file since 156 was 66, checked in by waue, 16 years ago

NutchEz - an easy way to nutch

File size: 1.9 KB
RevLine 
[66]1<!--
2  Licensed to the Apache Software Foundation (ASF) under one or more
3  contributor license agreements.  See the NOTICE file distributed with
4  this work for additional information regarding copyright ownership.
5  The ASF licenses this file to You under the Apache License, Version 2.0
6  (the "License"); you may not use this file except in compliance with
7  the License.  You may obtain a copy of the License at
8
9      http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16-->
17<%
18  response.setHeader("WWW-Authenticate", "Basic realm=\"Tomcat Manager Application\"");
19%>
20<html>
21 <head>
22  <title>401 Unauthorized</title>
23  <style>
24    <!--
25    BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;font-size:12px;}
26    H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
27    PRE, TT {border: 1px dotted #525D76}
28    A {color : black;}A.name {color : black;}
29    -->
30  </style>
31 </head>
32 <body>
33   <h1>401 Unauthorized</h1>
34   <p>
35    You are not authorized to view this page. If you have not changed
36    any configuration files, please examine the file
37    <tt>conf/tomcat-users.xml</tt> in your installation. That
38    file will contain the credentials to let you use this webapp.
39   </p>
40   <p>
41    You will need to add <tt>manager</tt> role to the config file listed above.
42    For example:
43<pre>
44&lt;role rolename="manager"/&gt;
45&lt;user username="tomcat" password="s3cret" roles="manager"/&gt;
46</pre>
47   </p>
48   <p>
49    For more information - please see the
50    <a href="/docs/manager-howto.html">Manager App HOW-TO</a>.
51   </p>
52 </body>
53
54</html>
Note: See TracBrowser for help on using the repository browser.