ProxyPass and ProxyPassMatch needs a path when not defined in a location in Apache HTTPD

Solution Verified - Updated -

Issue

  • Apache HTTPD not starting with the following error in httpd.log

    AH00526: Syntax error on line 99 of /etc/httpd/conf.d/proxy.conf:
    ProxyPass|ProxyPassMatch needs a path when not defined in a location
    

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Red Hat Sofware Collections (RHSCL)
  • Red Hat JBoss Web Server (JWS)
  • Red Hat JBoss Core Services (JBCS)
  • Apache Web Server (HTTPD)
    • mod_proxy

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