Hi
> 'df - h' shows the attached screenshot dfh.jpg.
45 GB available in the partition. That is huge progress.
> No error messages were shown after editing config.php. We added the code from https://docs.moodle.org/en/Debugging
Not good. The four lines following '// Force a debugging mode regardless the settings in the site administration' are known to display debug traces on the screen. Check the logs of web server to be double sure.
> We entered the Moodle database on the server and ran some SQLs to allow Guest Access to his course, make visible all sections, and make visible all modules.
Well, if the patient has been in the OP then the surgeons should take over. This is casual advice from an old general practitioner.
> 'df - h' shows the attached screenshot dfh.jpg.
45 GB available in the partition. That is huge progress.
> No error messages were shown after editing config.php. We added the code from https://docs.moodle.org/en/Debugging
Not good. The four lines following '// Force a debugging mode regardless the settings in the site administration' are known to display debug traces on the screen. Check the logs of web server to be double sure.
> We entered the Moodle database on the server and ran some SQLs to allow Guest Access to his course, make visible all sections, and make visible all modules.
Well, if the patient has been in the OP then the surgeons should take over. This is casual advice from an old general practitioner.
> If we change $CFG->wwwroot = 'http://___.___.cn/moodle'; to $CFG->wwwroot = 'https://___.___.cn/moodle'; or $CFG->wwwroot = 'https://___.___.cn'; we get a 503 error (website down). So we changed it back to http.
The URL of the site is not something for trial-and-error. The administrator of the site must have given the hosting provider a contract, take the one in the contract. From what I see in the Nginx conf file, it is HTTP (port 80). So stick to it.
> We then looked at /etc/nginx/conf.d/moodle.conf and the administrator suggested ipv6only=on could be a problem. He did not edit the file. See screenshot moodle_conf_and_login_index.png
We then looked at /opt/public/moodle/login/index.php and the administrator suggested $CFG->httpswwwroot/login/index.php could be a problem. He did not edit the file. See screenshot moodle_conf_and_login_index.png
Highly adventurous. I am excited to hear his story. The well-trodden (boring) path I take is named https://docs.moodle.org/en/Nginx.
Oh, wait, Moodle 2.9! Ha, ha, did you check the https://docs.moodle.org/dev/Moodle_2.9_release_notes#Server_requirements ?
> Another thing I noticed is when I use the web VPN, and try to log in, no Moodle cookies are set.
When I use the EasyConnect desktop VPN and log in, I get one cookie, under Cookies:
That I don't know. The network comes before the application. I don't know how to reverse engineer the network layers by looking at how Moodle behaves. This sounds like an aggressive Chinese medicine - not the TCM. My Ayurveda is no match. I retire.
The URL of the site is not something for trial-and-error. The administrator of the site must have given the hosting provider a contract, take the one in the contract. From what I see in the Nginx conf file, it is HTTP (port 80). So stick to it.
> We then looked at /etc/nginx/conf.d/moodle.conf and the administrator suggested ipv6only=on could be a problem. He did not edit the file. See screenshot moodle_conf_and_login_index.png
We then looked at /opt/public/moodle/login/index.php and the administrator suggested $CFG->httpswwwroot/login/index.php could be a problem. He did not edit the file. See screenshot moodle_conf_and_login_index.png
Highly adventurous. I am excited to hear his story. The well-trodden (boring) path I take is named https://docs.moodle.org/en/Nginx.
Oh, wait, Moodle 2.9! Ha, ha, did you check the https://docs.moodle.org/dev/Moodle_2.9_release_notes#Server_requirements ?
> Another thing I noticed is when I use the web VPN, and try to log in, no Moodle cookies are set.
When I use the EasyConnect desktop VPN and log in, I get one cookie, under Cookies:
That I don't know. The network comes before the application. I don't know how to reverse engineer the network layers by looking at how Moodle behaves. This sounds like an aggressive Chinese medicine - not the TCM. My Ayurveda is no match. I retire.