{"id":3889,"date":"2026-07-22T21:33:48","date_gmt":"2026-07-22T21:33:48","guid":{"rendered":"https:\/\/disoh.com\/support\/how-do-i-turn-directory-browsing-indexes-on-or-off-in-directadmin\/"},"modified":"2026-07-22T21:33:48","modified_gmt":"2026-07-22T21:33:48","password":"","slug":"how-do-i-turn-directory-browsing-indexes-on-or-off-in-directadmin","status":"publish","type":"docs","link":"https:\/\/disoh.com\/pt\/support\/how-do-i-turn-directory-browsing-indexes-on-or-off-in-directadmin\/","title":{"rendered":"Como fa\u00e7o para ativar ou desativar a navega\u00e7\u00e3o por diret\u00f3rios (\u00cdndices) no DirectAdmin?"},"content":{"rendered":"<p>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.<\/p>\n<h2>Why this matters for security<\/h2>\n<p>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.<\/p>\n<h2>Controlling indexing in DirectAdmin<\/h2>\n<ol>\n<li>Fa\u00e7a login no DirectAdmin.<\/li>\n<li>Abrir <strong>Account Manager &gt; Directory Privacy<\/strong> or the <strong>Indexes<\/strong> tool if present.<\/li>\n<li>Select the folder you want to control.<\/li>\n<li>Set indexing to off (no indexing) for privacy, or on if you deliberately want a listing.<\/li>\n<li>Salvar.<\/li>\n<\/ol>\n<h2>Doing it with .htaccess<\/h2>\n<p>You can also control this in your .htaccess file. Adding <em>Options -Indexes<\/em> disables directory listings for that folder and everything beneath it, while <em>Options +Indexes<\/em> enables them.<\/p>\n<h2>Best practice<\/h2>\n<ul>\n<li>Keep indexing off for most folders.<\/li>\n<li>Ensure important folders have an index file as well.<\/li>\n<li>Only enable listings for folders where a public file list is intended.<\/li>\n<\/ul>\n<h2>Solu\u00e7\u00e3o de problemas<\/h2>\n<ul>\n<li><strong>Still seeing a file list:<\/strong> confirm the setting applied to the right folder and clear your cache.<\/li>\n<li><strong>Getting a 403 error unexpectedly:<\/strong> the folder may need an index file.<\/li>\n<\/ul>\n<h2>Precisa de ajuda?<\/h2>\n<p>If you are unsure which folders to protect, our support team can advise over live chat.<\/p>","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[12],"doc_tag":[],"class_list":["post-3889","docs","type-docs","status-publish","hentry","doc_category-webhosting"],"year_month":"2026-09","word_count":253,"total_views":"156","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Jorn","author_nicename":"jorn","author_url":"https:\/\/disoh.com\/pt\/author\/jorn\/"},"doc_category_info":[{"term_name":"Webhosting","term_url":"https:\/\/disoh.com\/pt\/docs-category\/webhosting\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How do I turn directory browsing (Indexes) on or off in DirectAdmin? &#8211; Disoh<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/disoh.com\/pt\/suporte\/how-do-i-turn-directory-browsing-indexes-on-or-off-in-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How do I turn directory browsing (Indexes) on or off in DirectAdmin? &#8211; Disoh\" \/>\n<meta property=\"og:description\" content=\"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 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/disoh.com\/pt\/suporte\/how-do-i-turn-directory-browsing-indexes-on-or-off-in-directadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"Disoh\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/disohhosting\" \/>\n<meta property=\"og:image\" content=\"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/disoh.com\\\/es\\\/soporte\\\/como-puedo-activar-o-desactivar-los-indices-de-navegacion-por-directorios-en-directadmin\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/es\\\/soporte\\\/como-puedo-activar-o-desactivar-los-indices-de-navegacion-por-directorios-en-directadmin\\\/\",\"name\":\"How do I turn directory browsing (Indexes) on or off in DirectAdmin? &#8211; Disoh\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#website\"},\"datePublished\":\"2026-07-22T21:33:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/es\\\/soporte\\\/como-puedo-activar-o-desactivar-los-indices-de-navegacion-por-directorios-en-directadmin\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/disoh.com\\\/es\\\/soporte\\\/como-puedo-activar-o-desactivar-los-indices-de-navegacion-por-directorios-en-directadmin\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/disoh.com\\\/es\\\/soporte\\\/como-puedo-activar-o-desactivar-los-indices-de-navegacion-por-directorios-en-directadmin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/disoh.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How do I turn directory browsing (Indexes) on or off in DirectAdmin?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#website\",\"url\":\"https:\\\/\\\/disoh.com\\\/fi\\\/\",\"name\":\"Disoh\",\"description\":\"Digital Solutions Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/disoh.com\\\/fi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#organization\",\"name\":\"Disoh LLC\",\"url\":\"https:\\\/\\\/disoh.com\\\/fi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"contentUrl\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"width\":615,\"height\":615,\"caption\":\"Disoh LLC\"},\"image\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/disohhosting\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How do I turn directory browsing (Indexes) on or off in DirectAdmin? &#8211; Disoh","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/disoh.com\/pt\/suporte\/how-do-i-turn-directory-browsing-indexes-on-or-off-in-directadmin\/","og_locale":"pt_BR","og_type":"article","og_title":"How do I turn directory browsing (Indexes) on or off in DirectAdmin? &#8211; Disoh","og_description":"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 [&hellip;]","og_url":"https:\/\/disoh.com\/pt\/suporte\/how-do-i-turn-directory-browsing-indexes-on-or-off-in-directadmin\/","og_site_name":"Disoh","article_publisher":"https:\/\/www.facebook.com\/disohhosting","og_image":[{"width":1536,"height":1024,"url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. tempo de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/disoh.com\/es\/soporte\/como-puedo-activar-o-desactivar-los-indices-de-navegacion-por-directorios-en-directadmin\/","url":"https:\/\/disoh.com\/es\/soporte\/como-puedo-activar-o-desactivar-los-indices-de-navegacion-por-directorios-en-directadmin\/","name":"How do I turn directory browsing (Indexes) on or off in DirectAdmin? &#8211; Disoh","isPartOf":{"@id":"https:\/\/disoh.com\/fi\/#website"},"datePublished":"2026-07-22T21:33:48+00:00","breadcrumb":{"@id":"https:\/\/disoh.com\/es\/soporte\/como-puedo-activar-o-desactivar-los-indices-de-navegacion-por-directorios-en-directadmin\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/disoh.com\/es\/soporte\/como-puedo-activar-o-desactivar-los-indices-de-navegacion-por-directorios-en-directadmin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/disoh.com\/es\/soporte\/como-puedo-activar-o-desactivar-los-indices-de-navegacion-por-directorios-en-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/disoh.com\/"},{"@type":"ListItem","position":2,"name":"How do I turn directory browsing (Indexes) on or off in DirectAdmin?"}]},{"@type":"WebSite","@id":"https:\/\/disoh.com\/fi\/#website","url":"https:\/\/disoh.com\/fi\/","name":"Disque","description":"Hospedagem de solu\u00e7\u00f5es digitais","publisher":{"@id":"https:\/\/disoh.com\/fi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/disoh.com\/fi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/disoh.com\/fi\/#organization","name":"Disoh LLC","url":"https:\/\/disoh.com\/fi\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/disoh.com\/fi\/#\/schema\/logo\/image\/","url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","contentUrl":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","width":615,"height":615,"caption":"Disoh LLC"},"image":{"@id":"https:\/\/disoh.com\/fi\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/disohhosting"]}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/docs\/3889","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/comments?post=3889"}],"version-history":[{"count":0,"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/docs\/3889\/revisions"}],"wp:attachment":[{"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/media?parent=3889"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/doc_category?post=3889"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/disoh.com\/pt\/wp-json\/wp\/v2\/doc_tag?post=3889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}