Apache Configuration / mod_session

Solution Verified - Updated -

Issue

  • We're trying to configure apache to use mod_session. These are my directives:
<Directory />
    Session On
    SessionCookieName session path=/
    SessionMaxAge 60

    AllowOverride none
    Require all denied
</Directory>
  • After restarting of Apache we're getting the below error:
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

Environment

  • RedHat Enterprise Linux (RHEL)
    • 7.x

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.