{"id":440,"date":"2019-08-11T21:55:13","date_gmt":"2019-08-12T04:55:13","guid":{"rendered":"https:\/\/blog.iabsolute.com\/?p=440"},"modified":"2019-08-11T21:55:13","modified_gmt":"2019-08-12T04:55:13","slug":"how-to-add-directory-browsing-in-apache-configuration","status":"publish","type":"post","link":"https:\/\/blog.iabsolute.com\/?p=440","title":{"rendered":"How to add directory browsing in apache configuration?"},"content":{"rendered":"\n<p>One of the \u201cmust do\u2019s\u201d on setting a secure apache web server is to disable directory browsing.&nbsp;<\/p>\n\n\n\n<p>Usually apache comes with this feature enabled but its always a good idea to get it disabled unless you really need it.<\/p>\n\n\n\n<p>First of all find where is the main apache\u2019s config file&nbsp;<code>httpd.conf<\/code>&nbsp;is located.&nbsp;<\/p>\n\n\n\n<p>Usually it will be located in path like this:&nbsp;<code>\/etc\/apache\/httpd.conf<\/code>.&nbsp;<br>\nTo edit this file you will need root access to your server.<\/p>\n\n\n\n<p>Using some file editor like Vim or Nano open this file and find the line that looks as follows:<\/p>\n\n\n\n<p><code>Options Includes FollowSymLinks MultiViews<\/code><\/p>\n\n\n\n<p>then add word\u00a0<code>Indexes<\/code>\u00a0and save the file. The line should look like this one:<\/p>\n\n\n\n<p><code>Options Includes Indexes FollowSymLinks MultiViews<\/code><\/p>\n\n\n\n<p>After it is done, restart apache (e.g.&nbsp;<code>\/etc\/init.d\/apache restart<\/code>).&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the \u201cmust do\u2019s\u201d on setting a secure apache web server is to disable directory browsing.&nbsp; Usually apache comes with this feature enabled but its always a good idea to get it disabled unless you really need it. First &hellip; <a href=\"https:\/\/blog.iabsolute.com\/?p=440\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,9,2],"tags":[],"class_list":["post-440","post","type-post","status-publish","format-standard","hentry","category-apache","category-command-line-my-linux","category-my-linux"],"_links":{"self":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=440"}],"version-history":[{"count":1,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/440\/revisions"}],"predecessor-version":[{"id":441,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/440\/revisions\/441"}],"wp:attachment":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}