— New online course!  Azure App Services & App Service Security with ASP.NET Core — Special launch price 50% off —

Howto: Enable IIS directory browsing on Azure Websites

by

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


One Response to "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.