<%
response.setHeader("WWW-Authenticate", "Basic realm=\"Tomcat Manager Application\"");
%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>401 Unauthorized</title>
- <style>
+ <style type="text/css">
<!--
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;font-size:12px;}
H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
For example, to add the <tt>manager</tt> role to a user named
<tt>tomcat</tt> with a password of <tt>s3cret</tt>, add the following to the
config file listed above.
+ </p>
<pre>
<role rolename="manager"/>
<user username="tomcat" password="s3cret" roles="manager"/>
</pre>
- </p>
<p>
Note that for Tomcat 7 onwards, the roles required to use the manager
application were changed from the single <tt>manager</tt> role to the
following four roles. You will need to assign the role(s) required for
the functionality you wish to access.
+ </p>
<ul>
<li><tt>manager</tt> - allows access to the HTML GUI and the status
pages</li>
pages</li>
<li><tt>manager-status</tt> - allows access to the status pages only</li>
</ul>
- </p>
<p>
For more information - please see the
<a href="/docs/manager-howto.html">Manager App HOW-TO</a>.
limitations under the License.
--%>
<%@ page import="org.apache.catalina.util.RequestUtil" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>404 Not found</title>
- <style>
+ <style type="text/css">
<!--
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;font-size:12px;}
H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
The Manager application has been re-structured for Tomcat 7 onwards and some
of URLs have changed. All URLs used to access the Manager application should
now start with one of the following options:
+ </p>
<ul>
<li><%=request.getContextPath()%>/html for the HTML GUI</li>
<li><%=request.getContextPath()%>/text for the text interface</li>
<li><%=request.getContextPath()%>/jmxproxy for the JMX proxy</li>
<li><%=request.getContextPath()%>/status for the status pages</li>
</ul>
+ <p>
Note that the URL for the text interface has changed from
"<%=request.getContextPath()%>" to
"<%=request.getContextPath()%>/text".