<HTML>DOCLoginBugs & FeaturesDocumentationDownloadForums

HTMLDOC 1.8.27 Software Users Manual


Contents Previous Next

Configuring HTMLDOC with Microsoft IIS

The IIS web server is configured to run CGI programs by either modifying the permissions of an existing directory or by creating a new virtual directory that allows for execution of programs. Start by running the Internet Services Manager program (Figure 5-1):

  1. Click on Start
  2. Click on Settings
  3. Click on Control Panel
  4. Double-click on Administrative Tools
  5. Double-click on Internet Services Manager

After the Internet Services Manager window (Figure 5-1) appears, perform the following steps to add a virtual folder for HTMLDOC:

  1. Click on your server in the list to show the default web site service in the list (Figure 5-2)
  2. Choose New->Virtual Directory from the Action menu (Figure 5-3)
  3. Click Next when the Virtual Directory Creation Wizard window appears (Figure 5-4)
  4. Enter the name htmldoc in the Alias field and click Next (Figure 5-5)
  5. Enter the HTMLDOC program folder in the Directory field and click Next (Figure 5-6)
  6. Check the Execute (such as ISAPI applications or CGI) box and click Next (Figure 5-7)
  7. Click Finish to dismiss the wizard (Figure 5-8)

If you are using IIS 6.0, proceed to the next section titled, "Additional Configuration for IIS 6.0".

The Internet Services Manager Window
Figure 5-1: The Internet Services Manager Window

The Default Web Site Service
Figure 5-2: The Default Web Site Service

Adding a New Virtual Directory
Figure 5-3: Adding a New Virtual Directory

The Virtual Directory Creation Wizard Window
Figure 5-4: The Virtual Directory Creation Wizard Window

Entering the Alias Name
Figure 5-5: Entering the Alias Name

Entering the HTMLDOC Program Folder
Figure 5-6: Entering the HTMLDOC Program Folder

Enabling CGI Mode
Figure 5-7: Enabling CGI Mode

Completion of IIS Configuration
Figure 5-8: Completion of IIS Configuration

Once configured, the htmldoc.exe program will be available in the web server directory. For example, for a virtual directory called cgi-bin, the PDF converted URL for the superproducts.html page would be as follows:

    http://servername/cgi-bin/htmldoc.exe/superproducts.html

The boldface portion represents the location of the HTMLDOC program on the web server.


Contents Previous Next