Sunday, September 01, 2013

Enable directory browsing for IIS 8 Server Express

Visual Studio Express 2012 for Web Update 3 comes with IIS 8 Server Express. By default, the server is configured not to list directory contents for security reasons. But since I am using it for development purposes, security is not my main concern but speed of development.

When trying to browse a directory, you may get this error message:

HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.

To enable browsing do:
  1. Open console (cmd.exe)
  2. Change directory to C:\Program Files\IIS Express
  3. Type appcmd set config /section:system.webServer/directo
    ryBrowse /enabled:true
    to enable browsing.

4 comments:

chris hawkes said...

thanks

chris hawkes said...

Thanks

Anonymous said...

thanks man

Anonymous said...

it wokrs

Zig basic Windows application using win32 API

Zig basic Windows application using win32 API Info : OS: Windows 10 IoT LTSC 2021 Zig: 0.15.2 Sample application using zigwin32, Window...