How to resolve Red Hat Insights error warning on httpd-2.4 using the old directives (Order, Allow or Deny) which have been deprecated

Solution Verified - Updated -

Issue

  • How to replace the old directives ("Order", "Allow" and "Deny") with the new directive ("Require") in httpd-2.4
  • How to resolve Red Hat Insights error warning message for httpd-2.4 old directives.
    Error: This host is running httpd-2.4 and using the following old directives (Order, Allow or Deny) which have been deprecated

Environment

  • Red Hat Enterprise Linux 8/9
  • Red Hat Insights

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