Administration Guide
Overview Guide
Installation Guide
Previous Next Contents


Mapping HTTP Variables to Database Fields
You must map to specific database fields the HTTP variables corresponding to the components of the web server request that you want to log. Only by doing so will web server requests be properly logged. For information about creating the database table, see "How Web Requests are Logged."

Mapping HTTP variables to database fields is done in the web connector plug-in on the web server machine. The web server machine might or might not be the same machine on which you have installed the Netscape Application Server.

See your web server documentation for an explanation of the HTTP variables.

Use the registry editor utility, kregedit, to modify the web connector plug-in.

To map HTTP variables to database fields

  1. Open the registry editor by typing kregedit at the command prompt.
  2. The registry editor opens and displays the keys and values that apply to the Netscape Application Server. If the web server and Netscape Application Server are installed on separate machines, the registry editor opens and displays the keys and values that apply to the web connector plug-in.

    For Windows NT, use regedit and start at HKEY_LOCAL_MACHINE\\SOFTWARE\\KIVA.

  3. Open the following key:
  4. KIVA\\Enterprise\\2.0\\CCS0\\HTTPLOG\\INPUTVARS

    Each value under this key represents an HTTP variable and the database field to which the variable is mapped. The id of the value is the HTTP variable and the String value is the database field.

    The HTTP variable is in ALL CAPS, such as HTTP_REFERER, and the database field is exactly how it appears in the database table.

  5. Double-click the HTTP variable you want to map to a database field.
  6. The String editor dialog box appears.

  7. Enter the database field name as the value data and click OK.
  8. Leave blank any HTTP variables you do not want to log.
  9. When finished, close the registry editor.
 

© Copyright 1998 Netscape Communications Corporation