Apache fails to start with Invalid command 'SetEnv'

Solution Unverified - Updated -

Issue

  • We're trying to use the SetEnv directive, but when we do, Apache fails to start with the following error:
Invalid command 'SetEnv', perhaps misspelled or defined by a module not included in the server configuration

Environment

  • Red Hat JBoss Enterprise Web Server
  • Red Hat Enterprise Linux
  • Apache httpd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.