Personal tools
You are here: Home Framework Documentation Administrators Guide Administering an IIS Web Server

5      Administering an IIS Web Server

It is assumed that Microsoft’s Internet Information Services (IIS) is being used as the Web Server. 

5.1    Installing the IIS Web Server

Although IIS is a standard component that is supplied with Windows XP Professional, by default, it is not installed.  IIS can be installed as follows:

  • User opens the Control Panel / Add Remove Programs.
  • System presents the Add or Remove Programs dialog:

Image 5.1-1

·         User selects Add / Remove Windows Components on the left-hand-side.

  • System presents the Windows Components Wizard.

Image 5.1-2

  • User checks Internet Information Service (IIS) and presses the Next button.
  • Systems request the Windows XP Profession CD and proceeds to install IIS and starts the service.

5.2    Managing the IIS Web Server

Internet Information Services can be managed using the Internet Information Services management console:

  • User opens the Control Panel / Administrative Tools folder.
  • User opens the Internet Information Services.
  • System presents the Internet Information Services management console:

Image 5.2-1

5.3    Configuring the IIS Web Server

Enabling Java Web Start MIME Type

Framework uses a Java technology called Web Start to enable ‘single-click’ deployment of an Application to the client using a web browser.  Web Start uses JNLP files to describe the resources needed by the client.  To enable this functionality, the JNLP File Type must be registered with IIS as follows:

  • User expands the following nodes in the tree control: Internet Information Services \ <server> \ Web Sites.
  • User right-clicks on the Default Web Site item.
  • System presents a popup menu.
  • User selects the properties menu item.
  • System presents the Default Web Site Properties dialog.

Image 5.3-1

  • User selects the HTTP Headers tab page.
  • User presses the Files Types… button under the MIME Map group.
  • System presents the File Types dialog.

Image 5.3-2

  • User presses the New Types button.
  • System presents the File Type dialog.
  • User enters jnlp as the associated Extension.
  • User enters application/x-java-jnlp-file as the Content Type
  • User presses the OK button.
  • System adds the new file type to the File Types list.

Enabling Properties File MIME Type

  • User expands the following nodes in the tree control: Internet Information Services \ <server> \ Web Sites.
  • User right-clicks on the Default Web Site item.
  • System presents a popup menu.
  • User selects the properties menu item.
  • System presents the Default Web Site Properties dialog.
  • User selects the HTTP Headers tab page.
  • User presses the Files Types… button under the MIME Map group.
  • System presents the File Types dialog.

User presses the New Types button.

  • System presents the File Type dialog.
  • User enters properties as the associated Extension.
  • User enters text/plain as the Content Type
  • User presses the OK button.
  • System adds the new file type to the File Types list.

Defining the Distribution Virtual Directory

Before client workstations can access the application at the web site, a virtual directory must be defined within IIS that references the directory that the application has been distributed to.  Note: alternatively, the virtual directory can be defined as Defining the Application Web Site.

  • User right-clicks on the web site Default Web Site.
  • System presents a popup menu.
  • User selects New \ Virtual Directory... .
  • System presents the Virtual Directory Creation Wizard.
  • User presses Next button.
  • System presents the Virtual Directory Alias page
  • User enters the Alias of the virtual directory (e.g., MyWeb) and presses the Next button.
  • System presents the Web Site Content Directory page.
  • User enters or selects the path to the directory (e.g., D:\Framework\dist) and presses the Next button.
  • System presents the Access Permission page.
  • User selects the access permissions (Read is sufficient) and presses the Next button.
  • User presses the Finish button.
  • System completes the wizards and adds the virtual directory to the Default Web Site.

 

Starting, Stopping, and Pausing the Web Site

Before client workstations can use the application, IIS must be started and the web site must be started on IIS. 

  • User right-clicks on the web site Default Web Site.
  • System presents a popup menu.
  • User selects Start, Stop, or Pause (as required).
  • System starts, stops, or pauses the web site.