From: markt
Date: Sat, 5 May 2007 17:04:51 +0000 (+0000)
Subject: Port updates for path usage limitations
X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=80ae2d67429f19c4786439b51ab11621ed479e7c;p=tomcat7.0
Port updates for path usage limitations
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@535547 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/webapps/docs/manager-howto.xml b/webapps/docs/manager-howto.xml
index 5987e9cbc..8b44cb1fe 100644
--- a/webapps/docs/manager-howto.xml
+++ b/webapps/docs/manager-howto.xml
@@ -62,8 +62,7 @@ configuration file.
(installed by default on context path /manager) that supports
the following functions:
-
Deploy a new web application, on a specified context path, from
- the uploaded contents of a WAR file.
+
Deploy a new web application from the uploaded contents of a WAR file.
Deploy a new web application, on a specified context path, from the
server file system.
List the currently deployed web applications, as well as the
@@ -121,17 +120,6 @@ With Ant for more information.
-
Future versions of Tomcat 6 will include administrative functionality that
-is presented in (at least) the following forms:
-
-
As web services, so that Tomcat administration can be easily integrated
- into remote and/or non-Java mnagement environments.
-
As a web application with a nice user interface (built on top of the
- web services processing layer) for easy Tomcat administration via a
- web browser.
-
-
-
@@ -203,7 +191,7 @@ an example of restricting access to the localhost by IP address:
<Context path="/manager" privileged="true"
docBase="/usr/local/kinetic/tomcat6/server/webapps/manager">
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
- allow="127.0.0.1"/>
+ allow="127\.0\.0\.1"/>
</Context>
@@ -286,12 +274,10 @@ http://localhost:8080/manager/deploy?path=/foo
Upload the web application archive (WAR) file that is specified as the
request data in this HTTP PUT request, install it into the appBase
-directory of our corresponding virtual host, and start it on the context path
-specified by the path request parameter. If no path
-is specified the directory name or the war file name without the .war extension
-is used as the path. The application can
-later be undeployed (and the corresponding application directory removed)
-by use of the /undeploy.
+directory of our corresponding virtual host, and start , using the directory
+name or the war file name without the .war extension as the path. The
+application can later be undeployed (and the corresponding application directory
+removed) by use of the /undeploy command.
The .WAR file may include Tomcat specific deployment configuration, by
including a Context configuration XML file in
@@ -337,15 +323,6 @@ error message. Possible causes for problems include:
classes encountered when initializing application event listeners and
filters.
-
Invalid context path was specified
-
-
The context path must start with a slash character. To reference the
- ROOT web application use "/".
Deploy a web application directory or ".war" file located in your Host
-appBase directory. If no path is specified the directory name
-or the war file name without the ".war" extension is used as the path.
+appBase directory. The directory name or the war file name without the ".war"
+extension is used as the path.
In this example the web application located in a sub directory named
foo in the Host appBase directory of the Tomcat server is
deployed as the web application context named /foo. Notice
-that there is no path parameter so the context path defaults
-to the name of the web application directory.
+that the context path used is the name of the web application directory.
http://localhost:8080/manager/deploy?war=foo
@@ -416,9 +392,9 @@ http://localhost:8080/manager/deploy?war=foo
In this example the ".war" file bar.war located in your
Host appBase directory on the Tomcat server is deployed as the web
-application context named /bartoo.
+application context named /bar.
-http://localhost:8080/manager/deploy?path=/bartoo&war=bar.war
+http://localhost:8080/manager/deploy?war=bar.war