How to disable directory listing for pub directory on Red Hat Capsule Server

Solution Verified - Updated -

Issue

  • Vulnerability scanner detects /pub directory listing on Red Hat Capsule.
    http://capsule.example.com/pub
    https://capsule.example.com/pub

  • Disable directory listing on port 80, 443 and 8443

Environment

  • Red Hat Satellite 6.2
  • Red Hat Capsule 6.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.