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


Leave a Reply

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