79749354

Date: 2025-08-28 16:11:33
Score: 0.5
Natty:
Report link

There are two* possible places.

The one you may have overlooked is in the moodle config.php file, where you set $CFG->wwwroot

Moodle insists on redirecting to its known wwwroot if that's not how you accessed it.

The other one* is in the apache sites-enabled config.

The confusion is likely to happen if these two don't match somehow - i.e. your moodle config.php specifies http://yoursite and your apache config has a redirect from http://yoursite back to https://yoursite

(*) because we all know that with .htaccess files apache config is never in only one place .....

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: MartinG