Change comment:
Made the explanation less lyric...
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. AdrianFita1 +XWiki.VincentMassol - Content
-
... ... @@ -55,9 +55,9 @@ 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. You'll find it right at the end of the file.By default it's defined tojust"data", whichmeanstheeffectivedirectory location in thefilesystemwill becreatedwiththename //data//and will beelativeothe directory from whichthe Java applicationserver(Apache Tomcat)was started.Thiswould generatea **veryconfusingbehaviour**in which,dependingfrom whereyoustart Tomcat, xwikimayormay notbe abletolocate theattachmentsanddeliver themto you. Forexample,if you startTomcatfrom##/opt/tomcat6##, xwiki's attachmentsdirectoryis ##/opt/tomcat6/data##;if youstartTomcatfrom##/opt/tomcat6/bin##,xwiki'sattachmentsdirectory is ##/opt/tomcat6/bin/data##,andso on.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. 59 59 60 - You'll want to define an absolute path(!!) for##xwiki.work.dir##. Example:60 +For example: 61 61 62 62 {{code}} 63 63 xwiki.work.dir=/opt/tomcat6/data