Rev 364 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
294 | daniel-mar | 1 | |
365 | daniel-mar | 2 | About the folders "userdata" and "userdata_pub" |
3 | ----------------------------------------------- |
||
4 | |||
5 | The folders "userdata" and "userdata_pub" contain various files that are unique |
||
6 | to your OIDplus installation. With a few exceptions (like the info.txt files), |
||
294 | daniel-mar | 7 | the folder contents are safe from being accidentally changed or |
8 | deleted by SVN updates. |
||
9 | |||
365 | daniel-mar | 10 | Generally speaking, everything inside these folders belongs to you, |
11 | and everything else belongs to OIDplus (and should not be changed!). |
||
316 | daniel-mar | 12 | |
365 | daniel-mar | 13 | |
14 | The folder "userdata" |
||
15 | --------------------- |
||
16 | |||
17 | The folder "userdata" contains data from various plugins. |
||
18 | The access to this directory MUST be restricted, |
||
19 | because it can contain sensitive information like log files or |
||
20 | SQLite databases. |
||
21 | Therefore, please make sure that your webserver (e.g. Apache) |
||
22 | does not allow access to this directory. |
||
294 | daniel-mar | 23 | If the access is not denied, please check .htaccess (for Apache), |
310 | daniel-mar | 24 | nginx.conf (for Nginx) or web.config (for Microsoft IIS). |
294 | daniel-mar | 25 | |
365 | daniel-mar | 26 | More information about the contents of the sub-folders |
27 | can be found in the info.txt file which is located in |
||
28 | each sub-folder. |
||
294 | daniel-mar | 29 | |
30 | |||
365 | daniel-mar | 31 | The folder "userdata_pub" |
32 | ------------------------- |
||
310 | daniel-mar | 33 | |
365 | daniel-mar | 34 | The folder userdata_public/ can be used to store any kind of static |
35 | files that should be accessed through the web browser. |
||
36 | The access to this directory shall not be restricted. |
||
310 | daniel-mar | 37 | |
365 | daniel-mar | 38 | Possible use cases: |
39 | - If you create an individual CSS file in userdata/style/oidplus_base.css |
||
40 | (The CSS content will be processed by oidplus.min.css.php), |
||
41 | and want to include individual graphics, then you can place the graphics in this directory. |
||
42 | - You can place documents in this directory, and link to them in OID descriptions |
||
43 | (the "file attachments" or "documents and resources" plugins are recommended, though). |