Aarvi

Invalid command ‘SetEnv’, perhaps misspelled or defined by a module not included in the server configuration,

  • Home
  • Blog
  • Mysql
  • Invalid command ‘SetEnv’, perhaps misspelled or defined by a module not included in the server configuration,

While working on server

We saw one website giving 500 error

On checking I see error was coming on .htaccess rules

/docs/subdomains/my/public_html/.htaccess: Invalid command ‘SetEnv’, perhaps misspelled or defined by a module not included in the server configuration

To resolve this problem, we need to install the module ‘mod_env’ manually.

For easyapache4 users,

#yum install ea-apache24-mod_env.x86_64

Aarvi server solutions Is a Web Hosting Support Company that has built a solid reputation for quality, reliability, and true professional service