How to run multiple instances of Apache httpd under the same run folder in RHEL 7?

Solution Verified - Updated -

Issue

  • Subdirectories created under /run/my-httpd get deleted upon server reboot
  • Can't start httpd with directive: DefaultRuntimeDir "/run/my-httpd"

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 7.x
  • Apache httpd
    • 2.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content