Skip to main content

Fix : Azure website - "HTTP Error 403.14 – Forbidden The Web server is configured to not list the contents of this directory"

Today, I faced this error on browsing website after web app deployment on Azure and sometimes later, found a fix which has resolved it. We need to enable Directory Browsing on a directory in Microsoft Azure website.

To do this, set <diectoryBrowse enabled="true" /> in your web.config.

Sample:
  
<configuration>
 <system.webserver>
   <directorybrowse enabled="true" showflags="Date,Time,Extension,Size" />
 </system.webserver>
</configuration>


thanks,
p.

Comments