rootdir_config
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| rootdir_config [2022/02/04 19:29] – created yves | rootdir_config [2022/02/11 17:16] (current) – [Adding mounting points] yves | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Rootdirectory | + | ===== Root directory |
| + | |||
| + | Each root directory is given an alias by which it is referred. The alias must be unique, irrespective of its casing. This means that if you have a root directory with an alias " | ||
| + | |||
| + | Apart from its alias, the root directory needs at least one mounting point. | ||
| + | |||
| + | All other configuration options described in this page are optional. | ||
| + | |||
| + | ==== Defining your root directory ==== | ||
| + | |||
| + | You add a new root directory by clicking on the " | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | Next, you fill out the general characteristics for the root-directory. Don't worry about filling out details like C:\slides references yet. We'll take care of that later when we talk about mounting points. | ||
| + | |||
| + | {{ :: | ||
| + | |||
| + | You must enter a unique name (" | ||
| + | |||
| + | The following parameters are available for further tweaking: | ||
| + | |||
| + | ^ Parameter | ||
| + | | Description | An aribitrary string that can help administrator in the future remember what your root directory is actually about. The Description field of a root directory can also be used to hide additional information about a group of data that you don't want everybody to know about immediately. Do //not// use this field for sensitive information, | ||
| + | | Quota | You can set a limit on the amount of data that you want to allow PMA.core to manage in a particular for. This can be useful when facilitating temporary workers, visiting staff, residents or other students that only will be at your department for a brief period of time. If you // | ||
| + | | Offline | When checked, the folder will not be available to downstream applications like PMA.studio. Maybe you're just creating a placeholder for a future department, or you're not done curating a new collection yet. Instructors can also use this option to prepare a list of exam slides and only expose them to students for a limited amount of time (we don't offer scheduling though; you're still going to have to flick the proverbial switch manually) | | ||
| + | | Visibility | See our [[rootdir_security# | ||
| + | |||
| + | Once you create your root directory, you will see a reminder that you still need to provide a mounting point. | ||
| + | |||
| + | {{ :: | ||
| + | |||
| + | Clicking on the suggestion takes you to the Mounting Points tab, which is empty by default. | ||
| + | |||
| + | {{ :: | ||
| + | |||
| + | Now it's time to tell PMA.core where the content // | ||
| + | |||
| + | |||
| + | ==== Adding mounting points ==== | ||
| + | |||
| + | PMA.core [[storage_management|supports different types of storage]] (see also [[https:// | ||
| + | |||
| + | ^ storage type ^ information needed ^ | ||
| + | | local hard disk | a path reference like '' | ||
| + | | network drives | a UNC path reference like '' | ||
| + | | S3 storage | Access and secret key combination, | ||
| + | | Azure storage | A connection string, container name. As of [[what_s_new_in_version_2.0.1|PMA.core 2.0.1]], you can also specify a path to traverse directly down a hierarchy within the container | | ||
| + | | FTP server | FTP server URL, username and password, optionally an initial path | | ||
| + | |||
| + | For some of these storage types, you'll also see a field "Chunk size". This has to do with [[caching]] and can almost always be left to its default setting. | ||
| + | |||
| + | In our [[rootdir_security|section on security]], [[rootdir_security# | ||
| ==== Nested references ==== | ==== Nested references ==== | ||
| + | |||
| + | Two root-directories are nested if one is contained within another one. There are very good reasons to have this kind of setup: you can have a folder d: | ||
| + | * One root-directory " | ||
| + | * Two other root-directories " | ||
| + | |||
| + | It is clear that '' | ||
| + | |||
| + | Whether you want to actually allow this is up to you. In PMA.core, the files will be mapped to different locations and therefore will be accessible through different routes. Therefore, we recommend disabling nested root-directories if you plan to do any of the following: | ||
| + | * Move files to other locations using the image manager | ||
| + | * Capture on-slide annotations | ||
| + | * Capture form-data | ||
| + | |||
| + | Nested root-directories are fine to use, as long as you only use PMA.core to host and view WSI content. | ||
| + | ==== Control nesting ==== | ||
| + | |||
| + | The following operations should only be performed by experienced users. If you don't know where or how to find a file called '' | ||
| + | |||
| + | Assuming that you know what you're doing; you can control whether nested root-directories are allowed by modifying the AllowNestedRootDirectories switch in '' | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | Appropriate error handling is provided. Say that you have the following situation: | ||
| + | * AllowNestedRootDirectories is set to false | ||
| + | * A root directory '' | ||
| + | * A subdirectory exists '' | ||
| + | |||
| + | When trying to map '' | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
rootdir_config.1643999350.txt.gz · Last modified: by yves
