No matching DirectoryIndex found

Solution Verified - Updated -

Issue

  • We see 403s for / requests with the following error:

    AH01276: Cannot serve directory /opt/jbcs-httpd24-2.4/httpd/www/html/: No matching DirectoryIndex (index.html,index.html.var) found, and server-generated directory index forbidden by Options directive
    

Environment

  • JBoss Enterprise Web Server (JWS)
  • JBoss Core Services (JBCS)
  • 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