From c3b13c21b240206fec50df0a5f8f79e0ae8f1359 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 18 Mar 2019 06:42:22 +0100 Subject: [PATCH] =?UTF-8?q?fix=20various=20error=D1=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/README.Dist-Layout | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/README.Dist-Layout b/doc/README.Dist-Layout index 5dd8a2d57..7c18113f5 100644 --- a/doc/README.Dist-Layout +++ b/doc/README.Dist-Layout @@ -21,7 +21,7 @@ SeedDMS_Lucene, SeedDMS_Preview, SeedDMS_SQLiteFTS. 'seeddms-5.1.x' are the sources of seeddms and 'www' being a link on it. This layout has disadvantages when updating the source of seeddms, because -the directories 'conf' and 'ext' has to be moved from 'seeddms-5.1.x' to +the directories 'conf' and 'ext' had to be moved from 'seeddms-5.1.x' to 'seeddms-5.1.(x+1)'. 'conf' was also visible over the web unless it was protected by an .htaccess file. The .htaccess file has been shipped, but it is far better to keep senѕitive data out of the document root in the first @@ -31,11 +31,14 @@ The new layout mostly retains that structure but uses more soft links to place the local data outside of 'seeddms-5.1.x' which makes updating a lot easier and moves the configuration out of the document root. As MS Windows does not support soft links, this change will only apply to Linux/Unix -systems. The new layout is the following: +systems. MS Windows users just skip all the soft links and set seeddms-5.1.x +as the document root. The new layout is the following: seeddms51x ---+--- data --+-- log | | - | +-- ext + | +-- cache + | | + | +-- 1048576 | | | +-- ... | @@ -69,17 +72,15 @@ seeddms51x ---+--- data --+-- log | +-- index.php -> ../seeddms/index.php | - +-- ext -> ../data/ext + +-- ext In order to convert to this layout you need to do the following in the seeddms51x directory: ln -s seeddms-5.1.x seeddms mv www/conf . -mv www/ext data -rm www -mdkir www cd www +rm inc op out views controllers styles languages webdav restapi pdfviewer index.php ln -s ../seeddms/inc ln -s ../seeddms/op ln -s ../seeddms/out @@ -91,4 +92,3 @@ ln -s ../seeddms/webdav ln -s ../seeddms/restapi ln -s ../seeddms/pdfviewer ln -s ../seeddms/index.php -ln -s ../data/ext