Create Virtual Web Directory (mkwebdir)

Summary: Create a new virtual directory for a web server
Usage: mkwebdir <--computer|-c COMPUTER1,COMPUTER2,...>

<--website|-w WEBSITE>

<--virtualdir|-v NAME1,PATH1,NAME2,PATH2,...>

[--help|-h]

Parameters: COMPUTER1,
COMPUTER2,
...
List of computers on which to create this site.   This is to be used when configuring mulitple machines with the same settings.

If no machine is specified, LocalHost is assumed.

WEBSITE Web Site on which the directory will be created.

The name can be specified as one of the following, in the priority specified:

Server Number (i.e. 1, 2, 10, etc.)
Server Description (i.e "My Server")
Server Host name (i.e. "www.domain.com)
IP Address (i.e., 127.0.0.1)

 

NAME1,PATH1,NAME2,PATH2 Names and paths for virtual directories to create

Example:

Mkwebdir –c LocalHost –w "Default Web Site" –v CommonImages,D:\Images