Select location & language
  • Österreich German
  • Australia English
  • België Dutch
  • Canada English
  • Schweiz German
  • Deutschland German
  • Eesti English
  • Ελλάδα English
  • España Spanish
  • France French
  • Hrvatska English
  • Italia English
  • Latvija English
  • Lietuva English
  • Nederland Dutch
  • Norge Norwegian
  • Polska Polish
  • Portugal Portuguese
  • Slovensko English
  • Suomi Finnish
  • Sverige Swedish
  • United Kingdom English
  • United States English
  • American Samoa English
  • Andorra English
  • Anguilla English
  • Antarctica English
  • Bermuda English
  • British Indian Ocean Territory English
  • British Virgin Islands English
  • Cayman Islands English
  • Christmas Island English
  • Città del Vaticano English
  • Cocos (Keeling) Islands English
  • Falkland Islands English
  • French Southern Territories English
  • Gibraltar English
  • Guadeloupe French
  • Guam English
  • Guernsey English
  • Guyane française French
  • Heard & McDonald Islands English
  • Ireland English
  • Isle of Man English
  • Jersey English
  • Liechtenstein German
  • Luxembourg French
  • Malta English
  • Martinique French
  • Mayotte English
  • Monaco French
  • Montserrat English
  • New Zealand English
  • Norfolk Island English
  • Northern Mariana Islands English
  • Pitcairn Islands English
  • Puerto Rico Spanish
  • Réunion English
  • San Marino English
  • Slovenija English
  • St. Barthélemy English
  • St. Helena English
  • St. Martin English
  • St. Pierre & Miquelon English
  • Svalbard & Jan Mayen English
  • Turks & Caicos Islands English
  • U.S. Outlying Islands English
  • U.S. Virgin Islands English
  • Åland Islands English
  • Κύπρος English
  • Црна Гора English
Carrinho de compras

Como faço para ativar ou desativar a navegação por diretórios (Índices) no DirectAdmin?

1 min de leitura

Directory browsing, also called directory indexing, is when a folder without an index file shows a list of its contents to visitors. This can expose files you did not mean to share, so it is usually best turned off. This guide explains how to control it in DirectAdmin.

Why this matters for security #

If someone visits a folder that has no index.html or index.php, and indexing is on, they see a listing of every file in that folder. That can reveal backups, scripts, or documents you would rather keep private. Turning indexing off shows an error instead of the list.

Controlling indexing in DirectAdmin #

  1. Faça login no DirectAdmin.
  2. Abrir Account Manager > Directory Privacy or the Indexes tool if present.
  3. Select the folder you want to control.
  4. Set indexing to off (no indexing) for privacy, or on if you deliberately want a listing.
  5. Salvar.

Doing it with .htaccess #

You can also control this in your .htaccess file. Adding Options -Indexes disables directory listings for that folder and everything beneath it, while Options +Indexes enables them.

Best practice #

  • Keep indexing off for most folders.
  • Ensure important folders have an index file as well.
  • Only enable listings for folders where a public file list is intended.

Solução de problemas #

  • Still seeing a file list: confirm the setting applied to the right folder and clear your cache.
  • Getting a 403 error unexpectedly: the folder may need an index file.

Precisa de ajuda? #

If you are unsure which folders to protect, our support team can advise over live chat.

Quais são seus sentimentos?