File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 22 Options +Indexes
33</Directory>
44
5+ <Location "/_/">
6+ FallbackResource disabled
7+ </Location>
8+
59Alias /_/faildumps /var/www/behatfaildumps
610
11+ # Set the handler to use for files whose extension ends in `.php`.
12+ # This is a workaround for https://github.com/docker-library/php/issues/1576
13+ # The FallbackResource is a default Handler action which is only used if a Handler has not already been applied.
14+ # The docker/php image sets the handler unconditionally for any file whose name matches `.php`.
15+ # This configuration block unsets the default handler, and instead only applies it if the file exists.
16+ <FilesMatch \.php$>
17+ SetHandler none
18+ <If "-f %{REQUEST_FILENAME}">
19+ SetHandler application/x-httpd-php
20+ </If>
21+ </FilesMatch>
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ services:
55 - db
66 volumes :
77 - " ${MOODLE_DOCKER_WWWROOT}:/var/www/html"
8- - " ${ASSETDIR}/web/apache2_faildumps.conf:/etc/apache2/conf-enabled/apache2_faildumps .conf"
8+ - " ${ASSETDIR}/web/apache2_faildumps.conf:/etc/apache2/conf-enabled/moodle-faildump .conf"
99 environment :
1010 MOODLE_DOCKER_RUNNING : 1
1111 MOODLE_DOCKER_DBNAME : moodle
You can’t perform that action at this time.
0 commit comments