Auto-translated
Theoretically, if you do it manually, you need to add the following line to map.xdb:
There should be no backslashes before the quotes; this is just a quirk of how it's displayed here.
And copy MapScript.xdb from any working map. I'm not providing the content because it will be automatically blocked as malicious code.