Skip to main content

Posts

Showing posts with the label Web Programming

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: Open console (cmd.exe) Change directory to C:\Program Files\IIS Express Type appcmd set config /section:system.webServer/directo ryBrowse /enabled:true to enable browsing.

Embed Javascript in blog post

This shows a simple example of embedding Javascript in blogger. Not sure if this is supported as it messes up the anchor tag when post is edited using "Compose" instead of "Edit HTML". Click on "Hello world" below to see Javascript in action. Hello world The key to embed the script is the CDATA tag. Hello world Reference(s): Adding javascript to Blogger posts ( link )