-
Bug
-
Resolution: Fixed
-
Minor
-
4.3
-
MOODLE_403_STABLE
-
MOODLE_402_STABLE, MOODLE_403_STABLE
-
MDL-80648_CFG-xsendfilealiases-in-config-dist-php-is-missing-localrequestdir -
- Confirm the documentation changes look correct
The config-dist.php comes with a preconfigured array for $CFG->xsendfilealiases and this is missing an entry for custom $CFG->localrequestdir locations.
// If your X-Sendfile implementation (usually Nginx) uses directory aliases specify them
|
// in the following array setting:
|
// $CFG->xsendfilealiases = array(
|
// '/dataroot/' => $CFG->dataroot,
|
// '/cachedir/' => '/var/www/moodle/cache', // for custom $CFG->cachedir locations
|
// '/localcachedir/' => '/var/local/cache', // for custom $CFG->localcachedir locations
|
// '/tempdir/' => '/var/www/moodle/temp', // for custom $CFG->tempdir locations
|
// '/filedir' => '/var/www/moodle/filedir', // for custom $CFG->filedir locations
|
// );
|
This results in an xsendfile error for some files.
- caused a regression
-
MDL-81306 xsendfiles _cannot_ support per-request directories
-
- Closed
-