Iis – How to enable directory browsiing in IIS7

iisiis-7

How I enable directory browsing in IIS7?

MS technet says this can be done in the IIS console:

  1. Open IIS Manager and navigate to the level you want to manage.

  2. In Features View, double-click Directory Browsing.

  3. In the Actions pane, click Enable if the Directory Browsing
    feature is disabled and you want to
    enable it. Or, click Disable if the
    Directory Browsing feature is enabled
    and you want to disable it.

http://technet.microsoft.com/en-us/library/cc731109%28WS.10%29.aspx

However, my IIS console doesn't have the Directory Browsing option mentioned in Step 2.

How can this option be made available.

Note, this is for a static HTML site, so I don't have any web.config or ASPX files.

Best Answer

That's because 'Directory Browsing' is one of the Role services you have to specifically install. You do that from Server Manager -> Roles -> Web Services -> Add Role Services. Pick 'Directory Browsing' in the wizard. Then you should have the options specified in the KB article.

Related Topic