مطالب مطرح شده توسط Visvanath Ratnaweera

Moodle in English -> Moodle community sites -> Are Moodle Docs getting tracked?

از Visvanath Ratnaweera در
عکس Particularly helpful Moodlers عکس Translators

When I click for example on the link Step-by-step Installation Guide for Ubuntu in https://moodle.org/mod/forum/discuss.php?d=471430#p1892729 I am shown https://docs.moodle.org/501/en/Step-by-step_Installation_Guide_for_Ubuntu?_gl=1*1k1fd79*_ga*ODcwODczNTk1LjE3NjcwOTI5OTE.*_ga_QWYJYEY9P5*czE3NjcyNjIyODckbzQkZzEkdDE3NjcyNjIzNjIkajU3JGwwJGgw in the browser URL window. Is it some sort of tracking? The '_gl' at the beginning is specially vicious, it could mean Google!

P.S. I notice that even the Moodle Docs link (Step-by-step ..) in this post adds similar secret codes to the URL - if you are not logged in.

میانگین امتیازات: Useful (1)
عکس Particularly helpful Moodlers عکس Translators
> 5. sudo chown -R www-data:www-data /var/www/html/moodle

I wouldn't do that, giving the running web server write permissions to the code directory makes certain exploits possible.

> 6. sudo chown -R www-data:www-data /var/lib/nginx

I never do that. Why is it needed?
عکس Particularly helpful Moodlers عکس Translators
When you tested from the mysql interactive command interface, did you run it in the database server machine or in the web server (Moodle) machine? I understand that the DBMS runs on a separate machine. Then a) 'mysql' command needs to be run from the Moodle machine b) it'll need a '-h host'. See https://dev.mysql.com/doc/refman/8.4/en/connecting.html.
عکس Particularly helpful Moodlers عکس Translators

Hi AL

Sounds like almost recreational. I wish I had that many RPi. I have a couple of them but of different models. Why RPi 3 (Model B or Model B+)? Considering the true network bandwidth, I think RPi 4 Model B is the sweet spot for a web server, especially a cluster. Well, they are also much more expensive.

About the different Moodle versions, each of the five web servers run a Moodle 4.5 LTS, 5.0 and 5.1? So, through the HAProxy one sees three Moodle sites: a 4.5 LTS, 5.0 and 5.1?

The transition to HTTPS could get tough sometimes. The first thing, your cluster must be in your private LAN. How did you get the SSL certificates, the "Snake oil" ones in Apache? Did you match the timing of the Apache reconfig and Moodle wwwroot? Apache restarted? Have you set up a redirection HTTP to HTTPS? I could imagine the server cache in a RPi mounted file system being sticky. Those two are the most common causes of too many redirections. In the worst case try from a different machine. In the worst case, you have to start with a single web server. Once that works switch on the others.

And how do you off-load the HTTPS part, does the HAProxy handles it (better) or delegated to the web servers? Did you play with $CFG->reverseproxy and $CFG->sslproxy?

That said, why HTTPS in a private LAN needs some explanation too.
چشمک

P.S. This is entirely different from the "Composer vendor" story, so I took the liberty of changing the subject line.