Create a virtual directory

You must be logged on as a member of the Administrators group on the local computer to perform the following procedures.
To create a virtual directory:
  1. Ensure that Internet Information Services are enabled, then open
    Internet Information Services
    (
    IIS) Manager
    .
  2. In the
    Connections
    pane, expand the
    Sites
    node in the tree, and then navigate to
    Default Web Site
    .
  3. In the
    Actions
    pane, click
    View Virtual Directories
    .
  4. On the
    Virtual Directories
    page, in the
    Actions
    pane, click
    Add Virtual Directory
    .
  5. In the
    Add Virtual Directory
    dialog box, type a name in the
    Alias
    text box. This alias is used to access the content from a URL.
  6. In the
    Physical path
    text box, type the physical path of the content folder, or click
    Browse(...)
    to navigate through the file system to find the folder.
  7. Click
    OK
    .
This creates a virtual directory within your default web directory. See Microsoft’s online help for Internet Information Services (IIS) for more information on virtual directories.
IMPORTANT: When you click
OK
in the
Edit Alias
dialog box, your changes take effect immediately. Clicking
Cancel
does not cancel the alias assignment.
Virtual Directory Examples
Example 1:
  • You want to create a virtual directory called
    Reports
    . The actual directory is
    C:\Reports
    . Using the steps above, the virtual directory is created under the default web site.
    The hyperlink in the Equipment Editor is:
    /REPORTS/<file name>
  • You want to create a virtual directory called
    Pictures
    for custom icons to reference from an instruction file. The actual directory is
    C:\Pictures
    . Using the steps above, the virtual directory is created under the default web site.
    The file reference in an instruction file form is:
    img src=/Pictures/<picture.gif>
Example 2:
  • You want to create a virtual directory called
    Reports
    in the
    eProcedure
    virtual directory. The actual directory is
    C:\Program Files\Rockwell Software\Batch\Reports
    . In step 5 above, enter the alias
    /
    eProcedure
    /Reports
    .
    The hyperlink in the Equipment Editor is:
    REPORTS/<file name>
    (no preceding slash).
  • You want to create a virtual directory called
    Pictures
    in the
    eProcedure
    virtual directory. The actual directory is
    C:\Program Files\Rockwell Software\Batch\Pictures
    . In step 5 above, enter the alias
    /
    eProcedure
    /Pictures
    .
    The file reference in an instruction file form would be:
    img src=Pictures/<picture.gif>
    (no preceding slash).
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal