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:
- Ensure that Internet Information Services are enabled, then openInternet Information Services(IIS) Manager.
- In theConnectionspane, expand theSitesnode in the tree, and then navigate toDefault Web Site.
- In theActionspane, clickView Virtual Directories.
- On theVirtual Directoriespage, in theActionspane, clickAdd Virtual Directory.
- In theAdd Virtual Directorydialog box, type a name in theAliastext box. This alias is used to access the content from a URL.
- In thePhysical pathtext box, type the physical path of the content folder, or clickBrowse(...)to navigate through the file system to find the folder.
- ClickOK.
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 calledReports. The actual directory isC:\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 calledPicturesfor custom icons to reference from an instruction file. The actual directory isC:\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 calledReportsin theeProcedurevirtual directory. The actual directory isC:\Program Files\Rockwell Software\Batch\Reports. In step 5 above, enter the alias/.eProcedure/ReportsThe hyperlink in the Equipment Editor is:REPORTS/<file name>
- You want to create a virtual directory calledPicturesin theeProcedurevirtual directory. The actual directory isC:\Program Files\Rockwell Software\Batch\Pictures. In step 5 above, enter the alias/.eProcedure/PicturesThe file reference in an instruction file form would be:img src=Pictures/<picture.gif>(no preceding slash).
Provide Feedback