Azure DevOps, Scrum, & .NET Software Leadership and Consulting Services

Introducing Slide Speaker: Videos with Voice-over from your PowerPoint and Google Slides Presentations

Howto: Enable IIS directory browsing on Azure Websites


Ever wonder how to enable IIS Directory Browsing on a directory in your Microsoft Azure Website?  Hint: it’s not in the control panel for your account.

The answer: drop a web.config file into the directory you want to browse and set <directoryBrowse enabled=”true” />.  Done.  That’s it.

Here’s a sample web.config that you can use:

<configuration>
 <system.webServer>
   <directoryBrowse enabled="true" showFlags="Date,Time,Extension,Size" />
 </system.webServer>
</configuration>

-Ben

SUBSCRIBE TO THE BLOG


One response to “Howto: Enable IIS directory browsing on Azure Websites”

  1. […] If you are strictly using your Azure web application as a file server, you may want to be able to browse directory listings. You can do this by putting in a web.config file in your wwwroot folder. I found this trick here https://www.benday.com/2015/03/25/howto-enable-iis-directory-browsing-on-azure-websites/ […]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.