http://wiki3.caucho.com/index.php?title=Host-default&feed=atom&action=historyHost-default - Revision history2024-03-29T05:08:47ZRevision history for this page on the wikiMediaWiki 1.18.0http://wiki3.caucho.com/index.php?title=Host-default&diff=1635&oldid=prevFerg at 01:48, 22 December 20052005-12-22T01:48:54Z<p></p>
<p><b>New page</b></p><div>[[Category:Configuration]]<br />
<br />
Contains default <[[host]]> configuration for all virtual hosts in a <[[server]]> (or in a <[[host-deploy]]>.)<br />
<br />
host-default can be useful for configuring all virtual hosts with a common directory structure or access logging. For example, to configure all virtual hosts to use a [[webapps]] directory and have a separate root web-app in docs, you could use:<br />
<br />
==== resin.conf ====<br />
...<br />
<server><br />
<host-default><br />
<web-app-deploy path="webapps"/><br />
<br />
<web-app id="/" document-directory="docs"/><br />
<br />
<access-log path="log/access.log" .../><br />
</host-default><br />
...<br />
</server><br />
..</div>Ferg