Wiki source code of Configure the Permanent Directory
Last modified by Eleni Cojocariu on 2026/04/09 18:30
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{warning}} | ||
| 2 | WIP | ||
| 3 | {{/warning}} | ||
| 4 | |||
| 5 | To configure the [[permanent directory>>doc:documentation.xs.admin.configuration.directories.permanent-directory.WebHome]]: | ||
| 6 | |||
| 7 | 1. Set the property:((( | ||
| 8 | * Either the JVM system property:((( | ||
| 9 | * Add the following property to the JVM startup parameters of your [[servlet container>>dev:Community.SupportStrategy.ServletContainerSupportStrategy.WebHome]]:((( | ||
| 10 | {{code language="none"}} | ||
| 11 | -Dxwiki.data.dir=... | ||
| 12 | {{/code}} | ||
| 13 | ))) | ||
| 14 | ))) | ||
| 15 | * Or, in the ##xwiki.properties## file:((( | ||
| 16 | 1. Navigate to ##xwiki/WEB-INF/## and find the ##xwiki.properties## file. | ||
| 17 | 1. Set the property in ##xwiki.properties## file:((( | ||
| 18 | {{code language="none"}} | ||
| 19 | environment.permanentDirectory=... | ||
| 20 | {{/code}} | ||
| 21 | ))) | ||
| 22 | ))) | ||
| 23 | ))) | ||
| 24 | 1. Save the configuration changes. | ||
| 25 | 1. Restart the application server. |