Moodle error migration from http to https

Moodle error migration from http to https

by Ganesh Ubhare -
Number of replies: 3

Hi, I am getting this error when switching the moodle site from http to https 

We got the SSO working on the http but when the URL was changed to https it comes up with 

Server Error in '/moodle' Application. 

A potentially dangerous Request.Path value was detected from the client (<). 

I have replaced all the links into the DB to https and removed the cache . Does anyone have dealt with similar errors before ? Any help will be much appreciated 


Average of ratings: -
In reply to Ganesh Ubhare

Re: Moodle error migration from http to https

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers
Have you updated your moodle config.php file to point to the https address?
In reply to Emma Richardson

Re: Moodle error migration from http to https

by Ganesh Ubhare -

Hi Emma,

Yes. All that was changed. The SSO was working but as soon I changed from http to https it started throwing up errors. I did update the database to make the http to https changes as well 

In reply to Ganesh Ubhare

Re: Moodle error migration from http to https

by Ganesh Ubhare -
Finally we managed to fix this error . There was an "_" in the URL which the webserver thinks is invalid