http://wiki3.caucho.com/index.php?title=Host-deploy&feed=atom&action=historyHost-deploy - Revision history2024-03-29T00:47:34ZRevision history for this page on the wikiMediaWiki 1.18.0http://wiki3.caucho.com/index.php?title=Host-deploy&diff=2047&oldid=prevSam: renamed tag to directive2006-02-21T20:21:49Z<p>renamed tag to directive</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 20:21, 21 February 2006</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>[[Category:Configuration]] [[Category:<del class="diffchange diffchange-inline">Tags</del>]]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>[[Category:Configuration]] [[Category:<ins class="diffchange diffchange-inline">Directives</ins>]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>The <host-deploy> <del class="diffchange diffchange-inline">tag </del>configures a host expansion directory like the [[web-app]]'s [[webapps]] directory.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>The <host-deploy> <ins class="diffchange diffchange-inline">directive </ins>configures a host expansion directory like the [[web-app]]'s [[webapps]] directory.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Essentially, it's an automatic directory for <host> <del class="diffchange diffchange-inline">tags </del>with [[archive-path]] attributes.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Essentially, it's an automatic directory for <host> <ins class="diffchange diffchange-inline">directives </ins>with [[archive-path]] attributes.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>For example, in the default resin.conf, if you drop a foo.jar in [[server.root]]/hosts, it will expand to hosts/foo and be browseable at http://www.foo.com.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>For example, in the default resin.conf, if you drop a foo.jar in [[server.root]]/hosts, it will expand to hosts/foo and be browseable at http://www.foo.com.</div></td></tr>
</table>Samhttp://wiki3.caucho.com/index.php?title=Host-deploy&diff=1309&oldid=prevFerg at 19:07, 9 November 20052005-11-09T19:07:18Z<p></p>
<p><b>New page</b></p><div>[[Category:Configuration]] [[Category:Tags]]<br />
<br />
The <host-deploy> tag configures a host expansion directory like the [[web-app]]'s [[webapps]] directory.<br />
<br />
Essentially, it's an automatic directory for <host> tags with [[archive-path]] attributes.<br />
<br />
For example, in the default resin.conf, if you drop a foo.jar in [[server.root]]/hosts, it will expand to hosts/foo and be browseable at http://www.foo.com.<br />
<br />
It's also possible to create a [[Virtual Host]] without a .jar file by creating a directory in the hosts. <br />
<br />
<resin xmlns="http://caucho.com/ns/resin"><br />
...<br />
<server><br />
<host-deploy host-name="www.${host.id}.com" path="hosts"/><br />
</server><br />
... <br />
</resin><br />
<br />
{|<br />
||attribute||description||default<br />
|-<br />
||path||The location for both expansion directories and archives||none<br />
|-<br />
||archive-directory||The location for archive (.jar) files||path<br />
|-<br />
||expand-directory||The directory where archives are expanded||path<br />
|-<br />
||host-name||An EL expression for auto-generated host names||none<br />
|-<br />
||expand-cleanup-fileset||List of files to delete on redeploy||delete entire archive<br />
|-<br />
||require-file||additional files which will force a reload||none<br />
|-<br />
||startup-mode||starting mode of deployed hosts||"automatic"<br />
|-<br />
||redeploy-mode||mode for checking an redeploying hosts||"automatic"<br />
|-<br />
||host-default||default configuration for all hosts||none<br />
|}</div>Ferg