How to disable directory listing for pub directory on satellite server?

Solution Verified - Updated -

Issue

  • How to disable directory listing for pub directory on satellite server for following URL?
  • Can't disable web directory browsing for all directories and subdirectories in Satellite.
https://<satellite host>/pub

Environment

  • Red Hat Network Satellite 5.4
  • Red Hat Network Satellite 5.6
  • Red Hat Network Satellite 5.7

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.