To add a new VirtualDirectory:

	1.Open up the InternetInformationServicesMmc.
	2.Select the parent directory in the web server tree.
	3.Right click.
	4.Select New -> VirtualDirectory.
	5.Choose an alias for the new directory. The alias is the name that the directory will be known by when addressed in a URL.
	6.Choose the directory that you wish to map to this alias.

*Example* The Twiki pub directory is located at the following location in the filesystem: D:\twiki-install\pub. This directory is added as a virtual directory under the twiki folder in IIS with the alias 'pub'. The URL for the pub directory will be formed thus:

=http://Server_Name/twiki/pub=

whilst the actual directory is

=d:\twiki-install\pub=

 
-- Main.AdamKolbert - 18 Oct 2001 <br>

<img src="%ATTACHURLPATH%/newvirtualdirectory.gif" width="638" height="452" alt="newvirtualdirectory.gif"> <br> Adding a new virtual directory in IIS <br>
<!--TWikiAttachment--><p>
<table cellpadding="0" border="0" cellspacing="4">
<tr bgcolor="#99CCCC">
  <th>
%TWIKIWEB%.FileAttachment:
  </th><th>
Action:
  </th><th>
Size:
  </th><th>
Date:
  </th><th>
Who:
  </th><th>
Comment:
  </th>
</tr><TwkNextItem>
<tr>
  <td valign="top">
<TwkFileIcon><IMG src="%PUBURLPATH%/icn/bmp.gif" width="16" hight="16" align="top"></TwkFileIcon>&nbsp;<a href="%PUBURLPATH%/%WEB%/%TOPIC%/newvirtualdirectory.gif"><TwkFileName>newvirtualdirectory.gif</TwkFileName></a>
<TwkFilePath> <TwkData value="F:\Documents and Settings\Adam Kolbert\Desktop\new virtual directory.gif"> </TwkFilePath>
  </td><td valign="top">
<TwkAction><a href="%SCRIPTURLPATH%/viewfile%SCRIPTSUFFIX%/%WEB%/%TOPIC%?filename=newvirtualdirectory.gif">view</a>&nbsp;<a href="%SCRIPTURLPATH%/attach%SCRIPTSUFFIX%/%WEB%/%TOPIC%?filename=newvirtualdirectory.gif">update</a></TwkAction>
  </td><td valign="top" align="right">
<TwkFileSize>18542</TwkFileSize>
  </td><td valign="top">
<TwkFileDate>18&nbsp;Oct&nbsp;2001&nbsp;-&nbsp;11:23</TwkFileDate>
  </td><td valign="top">
<TwkFileUser> Main.AdamKolbert</TwkFileUser>
  </td><td valign="top">
<TwkFileComment>Adding a new virtual directory in IIS</TwkFileComment>
  </td>
</tr><TwkNextItem>
<tr>
  <td valign="top">
  </td><td valign="top">
<TwkAction><a href="%SCRIPTURLPATH%/attach%SCRIPTSUFFIX%/%WEB%/%TOPIC%">add</a><TwkAction>
  </td><td valign="top" align="right">
  </td><td valign="top">
  </td><td valign="top">
  </td><td valign="top">
  </td>
</tr>
</table>
<!--TWikiAttachment-->