Thursday, August 22, 2013

IIS7: Setup Virtual Folder

These are the steps to setup a virtual folder in IIS 7:


1. Set security permissions for the folder (NETWORK SERVICE permission is required if access through browser).
2. Add a virtual directory to the folder.
3. Authentication > Windows Form > Enabled, the rest disabled.
4. Allow Directory Listing.
5. After saving the IIS, if a Web.config created inside the folder, add this line above the <mimeMap...> line, as follows:
<remove fileExtension=".*" />
<mimeMap fileExtension=".*" mimeType="application/octet-stream" />

(this is to remove any conflicting mimeMap extensions from this folder's config)



If you find this post helpful, would you buy me a coffee?


No comments:

Post a Comment