{"id":7295,"date":"2021-06-02T11:37:52","date_gmt":"2021-06-02T11:37:52","guid":{"rendered":"https:\/\/www.bodhost.com\/kb\/?p=7295"},"modified":"2026-02-26T14:03:09","modified_gmt":"2026-02-26T14:03:09","slug":"modifying-the-apache-directory-listing-style","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/modifying-the-apache-directory-listing-style\/","title":{"rendered":"How to modify Apache directory listing style?"},"content":{"rendered":"\r\n<p>If someone visits a directory on your hosting account that does not have an index file <strong>(index.html, index.php, index.htm, etc.)<\/strong>, they will either see a list of files in that directory or receive a banned warning. This prevents them from accessing the directory&#8217;s contents. You can grant or deny permission to view the contents of the folder. You can also choose the type of information that appears on the page if you display the contents.<\/p>\r\n\r\n\r\n\r\n<p>Folder indexing generally disabled on our servers to improve the security of our customers&#8217; accounts.<\/p>\r\n\r\n\r\n\r\n<p><strong>Indexing Models:-<\/strong> When someone accesses a folder with standard indexing, only the file names displayed, with no other information about the files in that location. To use this type of indexing, place the following lines in the desired folders. htaccess file:<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\r\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\r\n<p>1.Options +Indexes<\/p>\r\n<p>2.IndexOptions \u2013FancyIndexing<\/p>\r\n<\/blockquote>\r\n<\/div><\/div>\r\n\r\n\r\n\r\n<p><strong>Creative Indexing:- <\/strong>Fancy indexing displays the files as well as additional information about them, such as the date the file was last modified, its size, and description. To use this type of indexing, add the following two lines to the destination folders. htaccess file:<\/p>\r\n\r\n\r\n\r\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\r\n<p>1.Options +Indexes<\/p>\r\n<p>2.IndexOptions +FancyIndexing<\/p>\r\n<\/blockquote>\r\n\r\n\r\n\r\n<p><strong>No Indexing:- <\/strong>If you do not want a folder on your account without an index file to display a list of files contained within it, you can disable the indexing functionality. To accomplish this, add the following line to the. htaccess file in the required directory:<\/p>\r\n\r\n\r\n\r\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\r\n<p>Options \u2013Indexes<\/p>\r\n<\/blockquote>\r\n\r\n\r\n\r\n<p>As a result, if someone tries to open the folder in their browser, they will get a 403 Forbidden message.<\/p>\r\n\r\n\r\n\r\n<p>You can change the Apache directory listing style in this way. If you continue to have problems with the protocol outlined above, please contact the <a href=\"http:\/\/www.bodhost.com\/blog\" target=\"_blank\" rel=\"noreferrer noopener\">bodHOST<\/a> Team for constructive assistance 24&#215;7.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>If someone visits a directory on your hosting account that does not have an index file (index.html, index.php, index.htm, etc.), they will either see a list of files in that&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/modifying-the-apache-directory-listing-style\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":22,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[666],"tags":[1014,1013],"class_list":["post-7295","post","type-post","status-publish","format-standard","hentry","category-general","tag-apache-directory","tag-apache-directory-listing-style"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Modifying the Apache Directory Listing Style<\/title>\n<meta name=\"description\" content=\"Modifying the Apache Directory Listing Style is the topic of this article. If you require any additional information, please visit our website\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/modifying-the-apache-directory-listing-style\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Modifying the Apache Directory Listing Style\" \/>\n<meta property=\"og:description\" content=\"Modifying the Apache Directory Listing Style is the topic of this article. If you require any additional information, please visit our website\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/modifying-the-apache-directory-listing-style\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-02T11:37:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:03:09+00:00\" \/>\n<meta name=\"author\" content=\"Vincer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vincer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/modifying-the-apache-directory-listing-style\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/modifying-the-apache-directory-listing-style\\\/\"},\"author\":{\"name\":\"Vincer\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/f3852d74aeac480763235276b5faddd0\"},\"headline\":\"How to modify Apache directory listing style?\",\"datePublished\":\"2021-06-02T11:37:52+00:00\",\"dateModified\":\"2026-02-26T14:03:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/modifying-the-apache-directory-listing-style\\\/\"},\"wordCount\":295,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"keywords\":[\"Apache Directory\",\"Apache Directory Listing Style\"],\"articleSection\":[\"General Discussion\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/modifying-the-apache-directory-listing-style\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/modifying-the-apache-directory-listing-style\\\/\",\"name\":\"Modifying the Apache Directory Listing Style\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2021-06-02T11:37:52+00:00\",\"dateModified\":\"2026-02-26T14:03:09+00:00\",\"description\":\"Modifying the Apache Directory Listing Style is the topic of this article. If you require any additional information, please visit our website\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/modifying-the-apache-directory-listing-style\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/modifying-the-apache-directory-listing-style\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/modifying-the-apache-directory-listing-style\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"General Discussion\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/general\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to modify Apache directory listing style?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/f3852d74aeac480763235276b5faddd0\",\"name\":\"Vincer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g\",\"caption\":\"Vincer\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/vinayak\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Modifying the Apache Directory Listing Style","description":"Modifying the Apache Directory Listing Style is the topic of this article. If you require any additional information, please visit our website","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:\/\/www.bodhost.com\/kb\/modifying-the-apache-directory-listing-style\/","og_locale":"en_US","og_type":"article","og_title":"Modifying the Apache Directory Listing Style","og_description":"Modifying the Apache Directory Listing Style is the topic of this article. If you require any additional information, please visit our website","og_url":"https:\/\/www.bodhost.com\/kb\/modifying-the-apache-directory-listing-style\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2021-06-02T11:37:52+00:00","article_modified_time":"2026-02-26T14:03:09+00:00","author":"Vincer","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Vincer","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/modifying-the-apache-directory-listing-style\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/modifying-the-apache-directory-listing-style\/"},"author":{"name":"Vincer","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/f3852d74aeac480763235276b5faddd0"},"headline":"How to modify Apache directory listing style?","datePublished":"2021-06-02T11:37:52+00:00","dateModified":"2026-02-26T14:03:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/modifying-the-apache-directory-listing-style\/"},"wordCount":295,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"keywords":["Apache Directory","Apache Directory Listing Style"],"articleSection":["General Discussion"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/modifying-the-apache-directory-listing-style\/","url":"https:\/\/www.bodhost.com\/kb\/modifying-the-apache-directory-listing-style\/","name":"Modifying the Apache Directory Listing Style","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"datePublished":"2021-06-02T11:37:52+00:00","dateModified":"2026-02-26T14:03:09+00:00","description":"Modifying the Apache Directory Listing Style is the topic of this article. If you require any additional information, please visit our website","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/modifying-the-apache-directory-listing-style\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/modifying-the-apache-directory-listing-style\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/modifying-the-apache-directory-listing-style\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"General Discussion","item":"https:\/\/www.bodhost.com\/kb\/category\/general\/"},{"@type":"ListItem","position":2,"name":"How to modify Apache directory listing style?"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/f3852d74aeac480763235276b5faddd0","name":"Vincer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bb5079f76e01aaa97b2ffcb7a562292482693b395aba4a4214c98f006c07d352?s=96&d=mm&r=g","caption":"Vincer"},"url":"https:\/\/www.bodhost.com\/kb\/author\/vinayak\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/7295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=7295"}],"version-history":[{"count":6,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/7295\/revisions"}],"predecessor-version":[{"id":13189,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/7295\/revisions\/13189"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=7295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=7295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=7295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}