How Do I Enable Directory Listing In ASP/.NET?

Directory listing can be added by using an asp page. Instructions to do this can be found on Microsoft's Support Site by following this link:

You can also do directory listing via the web.config with the below code. You will specify the folder name based on the /web/content directory being the root. So if you have /web/content/mynewfolder the lines will look like below:


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


Was this content helpful?

© 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