-
Improvement
-
Resolution: Fixed
-
Minor
-
5.0
-
MOODLE_500_STABLE
-
MOODLE_500_STABLE
-
MDL-83391-main -
-
-
When using a webserver not in the hard-coded list in setuplib.php, we get a fatal error of:
`Web server software (<name>) is not supported, sorry.`
The list is hard-coded in
setuplib.php:setup_get_remote_url()
|
which lists various web servers, with else if clauses, which are supported (and some which the comments say aren't, and yet they are supported in the code).
It looks like this was some very old code decision years ago which never got changed.
There is no need for all these else if clauses for various web server software, all to do the samr thing and just the REQUEST_URI. We can put all of that in a single `else` at the very least, and re-consider how much of this function we actually need, at all.
Patches will be attached shortly.
- has a non-specific relationship to
-
MDL-81604 Broken file serving under PHP 8.1+, Apache and PHP-FPM via mod_proxy_fcgi, when the filename is not only plain ASCII or w/ blank spaces
-
- Waiting for integration review
-
-
MDL-71897 error "Web server software ({$a}) is not supported, sorry." when load balancing Moodle on PHP-FPM using HAProxy and FastCGI
-
- Closed
-
- has been marked as being related by
-
MDL-26182 Notice: Undefined index: SCRIPT_NAME in /var/www/moodle/testing/lib/setuplib.php on line 723
-
- Closed
-
- will help resolve
-
MDL-84493 Unsupported web server / Angie
-
- Closed
-