Plesk

On Plesk for Linux server, website fails to open with error 500 or adding additional Apache directive fails: Invalid command, perhaps misspelled or defined by a module not included in the server configuration

Symptoms

Cause

The Apache directive used in the file .htaccess or attempted to be added as an additional directive is related to the disabled Apache module.

Resolution

Note: This article is intended for use by server administrators. In case there is no administrative access to the Plesk interface, contact the server administrator or server provider.

  1. Log into Plesk.

  2. Go to Tools & Settings > Apache Web Server.

  3. In the section Apache modules, enable the module which is tried to be used by the directive (for example, expires).

  4. Click OK or Apply to save the changes.

Exit mobile version