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