You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2018/02/07 15:44:03 UTC
svn commit: r1823483 - in /tomcat/trunk/webapps/docs: host-manager-howto.xml
html-host-manager-howto.xml
Author: markt
Date: Wed Feb 7 15:44:03 2018
New Revision: 1823483
URL: http://svn.apache.org/viewvc?rev=1823483&view=rev
Log:
Make the Host Manager text Tomcat 9 specific.
Modified:
tomcat/trunk/webapps/docs/host-manager-howto.xml
tomcat/trunk/webapps/docs/html-host-manager-howto.xml
Modified: tomcat/trunk/webapps/docs/host-manager-howto.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/host-manager-howto.xml?rev=1823483&r1=1823482&r2=1823483&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/host-manager-howto.xml (original)
+++ tomcat/trunk/webapps/docs/host-manager-howto.xml Wed Feb 7 15:44:03 2018
@@ -67,10 +67,10 @@
</li>
</ul>
<p>
- Both ways enable you to add, remove, start, and stop virtual hosts. All
- of the operations are persistent on Tomcat 9 and newer versions if you use
- the <code>persist</code> option. This document focuses on the text interface.
- For further information about the graphical interface, see
+ Both ways enable you to add, remove, start, and stop virtual hosts. Changes
+ may be presisted by using the <code>persist</code> command. This document
+ focuses on the text interface. For further information about the graphical
+ interface, see
<a href="html-host-manager-howto.html">Host Manager App -- HTML Interface</a>.
</p>
</section>
@@ -125,7 +125,7 @@ localhost:</source>
<li>remove</li>
<li>start</li>
<li>stop</li>
- <li>persist - this command is available only for Tomcat 9 and newer.</li>
+ <li>persist</li>
</ul>
<p>
In the following subsections, the username and password is assumed to be
@@ -163,8 +163,7 @@ localhost:</source>
file is read and used by Tomcat.</li>
<li>Boolean <b>copyXML</b>: If true, Tomcat copies <i>/META-INF/context.xml</i>
file and uses the original copy regardless of updates to the application's
- <i>/META-INF/context.xml</i> file. Available only for
- <b>Tomcat 8 and newer</b>.</li>
+ <i>/META-INF/context.xml</i> file.</li>
</ul>
<p><i>Example command</i>:</p>
<source><![CDATA[curl -u test:test http://localhost:8080/host-manager/text/add?name=www.awesomeserver.com&aliases=awesomeserver.com&appBase/mnt/appDir&deployOnStartup=true]]></source>
@@ -223,15 +222,6 @@ localhost:</source>
<b>REQUIRED</b></li>
</ul>
<p>
- Tomcat 9 and newer versions can use the <b>persist</b> command. If you use
- an older version of Tomcat, note that everything done in the Host Manager
- application is non-persistent. While that is suitable for some, if you
- want your settings to be persistent, you must write it into the
- <i>server.xml</i> configuration file manually. For full documentation
- about the configuration, see
- <a href="config/host.html">The Host Container</a>.
- </p>
- <p>
This functionality is disabled by default. To enable this option, you must
configure the <code>StoreConfigLifecycleListener</code> listener first.
To do so, add the following listener to your <i>server.xml</i>:
Modified: tomcat/trunk/webapps/docs/html-host-manager-howto.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/html-host-manager-howto.xml?rev=1823483&r1=1823482&r2=1823483&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/html-host-manager-howto.xml (original)
+++ tomcat/trunk/webapps/docs/html-host-manager-howto.xml Wed Feb 7 15:44:03 2018
@@ -70,10 +70,10 @@
</li>
</ul>
<p>
- Both ways enable you to add, remove, start, and stop virtual hosts. All
- of the operations are persistent on Tomcat 9 and newer versions if you use
- the <code>persist</code> option. This document focuses on the HTML interface.
- For further information about the graphical interface, see
+ Both ways enable you to add, remove, start, and stop virtual hosts.
+ Changes may be presisted by using the <code>persist</code> command. This
+ document focuses on the HTML interface. For further information about the
+ graphical interface, see
<a href="host-manager-howto.html">Host Manager App -- Text Interface</a>.
</p>
</section>
@@ -129,8 +129,7 @@
<li><strong>Add Virtual Host</strong> - Enables you to add a new Virtual
Host.</li>
<li><strong>Persist configuration</strong> - Enables you to persist your
- current Virtual Hosts. This option is available on Tomcat 9 and newer
- versions.</li>
+ current Virtual Hosts.</li>
<li><strong>Server Information</strong> - Information about the Tomcat
server.</li>
</ul>
@@ -192,8 +191,7 @@
<section name="Persist Configuration">
<p>The Persist Configuration section enables you to persist your current
- configuration into the <i>server.xml</i> file. This option is available for
- Tomcat 9 and newer versions.</p>
+ configuration into the <i>server.xml</i> file.</p>
<p> This functionality is disabled by default. To enable this option, you must
configure the <code>StoreConfigLifecycleListener</code> listener first.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org