AH00548: NameVirtualHost has no effect and will be removed in the next release

Solution Verified - Updated -

Issue

  • We are upgrading to httpd 2.4.x and we see the following error trying to start:
httpd[3526]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf/httpd.conf:292
systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE

Environment

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

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