Apache HTTPD fails to start due to syntax errors when loading modules

Solution Verified - Updated -

Issue

  • Apache fails to start due to syntax errors when loading sm_module module:

    LoadModule sm_module "/Apache/webagent/bin/libmod_sm24.so"
    SmInitFile "/Apache/http//conf/WebAgent.conf"
    
  • Apache fails to start due to syntax errors when loading dav_fs module

    server httpd[7020]:AH00526:syntax error on line 1 etc/httpd/conf.modules.d/dav_fs.conf
    
  • Apache fails to start due to syntax errors when loading mod_proxy module

    AH00526: Syntax error on line 123 of /etc/httpd/conf/httpd.conf:
    Invalid command 'ProxyHCExpr', perhaps misspelled or defined by a module not included in the server configuration
    

Environment

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

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