About Virtual Directory - Windows

The word "Virtual Directory" means the following.

  1. Directory Name (Directory including Files)
  2. Alias Name ( Name to use in accessing )
  3. Access Permission to the Directory Name (#1 above)

The simplest virtual directory is "Document Root(Home Directory)", and has the following attributes:

  1. C:\InetPub\wwwroot
  2. /
  3. Read

The setting above means " If you access "/" of this server, "Read" the file under "C:\InetPub\wwwroot".

In this case, if you access:

http:// (server's host name)/ ,

"/", i.e. "Default.htm" or "index.html" under "C:\InetPub\wwwroot" directory are "read".

  1. C:\InetPub\scripts
  2. /scripts
  3. Not Read, Execute

if you access,

http://(server's host name)/scripts/test.exe

"test.exe" file under "/scripts", i.e. "C:\InetPub\scripts" is "Executed".

If "/scripts" is set up "Execute", the directories under "/scripts" has the "Execute" permission, i.e. can execute "/scripts/sales/test1.exe" or "/scripts/system/test2.exe".

Therefore, when you install more than one CGI's in the same server, we recommend to install in the different directories that have permission to "Execute " CGI.

To access these attributes, use the following or refer to your web server help manual.

WindowsNT Peer Web Services or IIS Internet Service Manager > WWW SErvice Properties in Internet Service Manager > Directories
Windows98 Personal Web Server Control Panel > Personal Web Server

Note: If you need help creating a virtual directory in IIS please refer to the (Q172138) in the Microsoft Knowledge Base.

[Notice]

In setting up, please notice following.

  • Setup not to confuse the Real file location with URL address clients enter.
  • In executing CGI, make sure the access permission is set up "Execute".
  • Do not use "/cb4" for Alias name.