Changes for page Attachments

Last modified by Vincent Massol on 2022/12/02

<
From version < 9.5 >
edited by Vincent Massol
on 2012/03/20
To version < 9.6 >
edited by Sergiu Dumitriu
on 2012/05/17
>
Change comment: Updated documentation about how to configure the location of the filesystem attachment storage

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.Sergiu
Content
... ... @@ -55,12 +55,12 @@
55 55  
56 56  === Filesystem attachment store location ===
57 57  
58 -The directory in which the attachments are stored in the filesystem is defined with the parameter ##xwiki.work.dir## in the ##xwiki.cfg## file. By default it's defined to be ##data##, which is a directory relative to where the Java Servlet Container was started. It's recommend to modify this value to be absolute so that you can start the Servlet Container from any directory and still have XWiki find the attachments located in this work directory.
58 +The directory in which the attachments are stored in the filesystem is defined with the parameter ##environment.permanentDirectory## in the ##xwiki.properties## file. By default it's defined to be ##data##, which is a directory relative to where the Java Servlet Container was started. It's recommend to modify this value to be absolute so that you can start the Servlet Container from any directory and still have XWiki find the attachments located in this work directory.
59 59  
60 60  For example:
61 61  
62 62  {{code}}
63 -xwiki.work.dir=/opt/tomcat6/data
63 +environment.permanentDirectory=/opt/tomcat6/data
64 64  {{/code}}
65 65  
66 66  === Directory Structure ===
XWiki.XWikiComments[1]
Date
... ... @@ -1,1 +1,1 @@
1 -2012-03-20 09:13:52.561
1 +2012-03-20 09:13:52.0

Get Connected