by Mark St. Louis.
The solution from your link did the trick. I just turned off the slash arguments in the HTTP settings of Moodle, and all is working. Thank you very much.