Create IIS Virtual Folder
This command creates a virtual folder underneath an Internet Information Services website identified by its Site Index. Every IIS website must have at least one virtual folder, typically the root folder.
Virtual Path
The path of the virtual folder as it will appear underneath the IIS website. Leave this field empty to create the root folder. Enter a path in this field to create a sub folder.
Site Index
The numeric identifier of the website.
Physical Path
The full path to the physical file system folder that contains the files to be served as part of the virtual folder.
Script Source Access
Check this box to allow source code access to script files, such as ASP scripts.
Read
Check this box to allow read access to the folder. Without read access no files can be served from a virtual folder.
Write
Check this box to allow write access to the folder. Write access may be necessary for some kinds of web applications.
Directory Browsing
Check this box to enable the user to see the files and folders contained within this virtual folder if a default document cannot be found.
Log Visits
Check this box if you wish visits to this folder to be logged. The website identified by Site Index must also enable logging.
Index This Resource
Check this box to allow Microsoft Indexing Service to perform a full-text index on this folder.
Application Protection
Choose the level of application protection for this virtual folder here.
Execute Permissions
Choose whether script files (such as ASP files) and executables are allowed to run in this virtual folder, or only static content is permitted (such as HTM files).
Create or Use Pool
Unless
is specified in the Application Protection field, sets the virtual folder to become part of the named application pool. If the named application pool does not already exist, it will be created.Default Content Page
Check the Enable default content page check box to display a web page when this folder is accessed without referring to any particular file in it. Add one or more default content pages to display, in order of priority.
Document Footer
If you wish to append a footer to every document that is served by this virtual folder, enter the name of the document containing the footer here.
Enable Anonymous Access
To permit unauthenticated users access to files on this virtual folder, check this box. Most visitors of typical websites are unauthenticated users.
Integrated Windows Authentication
To use Windows user accounts and NTFS permissions for authentication, check this box.
Basic Authentication
To allow passwords sent as clear text, check this box.
Mime Types
To register MIME types with the server, enter them in the list here. Some later versions of IIS only serve file types for which there are MIME type declarations, therefore if you will be serving files with non-standard (unrecognized) file extensions, declare them as MIME types here.
ASP.NET version
To associate a version of ASP.NET with the virtual folder, choose that version here. To inherit the default association, choose the
setting.Notes
- Use the Set Access Control command to grand folder permissions for the anonymous internet user to the physical folder that the Create IIS Virtual Folder command points to.
- Use the Get System Settings command and query the IIS Anonymous User Account capability to obtain the name of the anonymous internet user account.
- The site index of a web site may be obtained from its name using the Get IIS Site Index command.
- Creation of custom application pools is available with IIS 6 and later. It is not available with earlier IIS versions.