Login error with Moodle.

Avatar
  • Answered
When logging in to moodle2.lpvec.net I get:
An appropriate representation of the requested resource /login/index.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

The /login/index.php file is there with correct permissions.
We think it is a mod_security issue.
Avatar
JacobIMH

Hello teacherjim, and thank you for your question, and sorry for the problems.

This did appear to be an issue with mod_security. I went ahead and corrected this particular problem for you.

If you continue to experience issues with ModSecurity, and since you already have root access to your server, I might recommend reading my article on how to find and disable specific ModSecurity rules to prevent them from causing you further problems.

Please let us know if you had any further questions at all.

- Jacob