Document-directory

From Resin 3.0

Revision as of 17:32, 3 January 2006 by Ferg (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[Category:Configuration]

The <document-directory> is used to specify the location of documents for a <web-app>. For web-apps, <document-directory> is the equivalent of a <root-directory> for <hosts>

<web-app>

For webapps defined in the resin.conf, we recommend setting an explicit <document-directory>. The tag will document your configuration when you need to update it.

By default, though, the <web-app> will append the webapp's id to the <document-directory> of the webapp's <host>. As mentioned above, we do not recommend this configuration because it makes configuration files harder to read.

<host>

In general, we do not recommend setting the <document-directory> for the <host>. Set the <root-directory> instead and set the <document-directory> explicitly for each <web-app>

See Also

Personal tools