Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.9.2
-
Fix Version/s: None
-
Component/s: MNet
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
Table mnet_host saves the wwwroot and IP address of the local site. If either of these change, mnet breaks. Either this information should come from config.php, or there should be a way of updating it (short of editing the database) when moving the site.
Issue Links
| This issue will help resolve: | ||||
| MDL-21260 | General open bugs |
|
|
|
Actually it's more complicated than that.
The wwwroot is embedded inside the ssl key. If you move the site you have to also regenerate your local key, and repeer it with all your peers.
There isn't a good way to solve that and still be secure. You could broadcast to all your peered hosts that you have a new key, but that's pretty insecure.