Enable directory listing in ASP.NET

You can enable directory listing by using an ASP page. Instructions are located on the Microsoft Support Site.

You can also enable directory listing in the web.config file with the following code. You specify the folder name based on the /web/content directory being the root. So if you have /web/content/mynewfolder, the lines would look as follows:


<location path="mynewfolder">
    <directoryBrowse enabled="true" />


© 2015 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

See license specifics and DISCLAIMER