Using The Query Handler - Sun Microsystems Netscape Enterprise Server Administrator's Manual

Table of Contents

Advertisement

Using the Query Handler

The use of Query Handlers is outdated. Although Enterprise Server and
Note
Netscape Navigator clients still support it, it is rarely used. It is much more
common for people to use forms in their HTML pages to submit queries.
You can specify a default query handler CGI program. A query handler
processes text sent to it via the ISINDEX tag in an HTML file.
ISINDEX is similar to a form text field in that it creates a text field in the HTML
page that can accept typed input. Unlike the information in a form text field,
however, the information in the ISINDEX box is immediately submitted when
the user presses Return. When you specify your default query handler, you tell
your server to which program to direct the input. For an in-depth discussion of
the ISINDEX tag, see an HTML reference manual.
To set a query handler, perform the following steps:
1.
2.
3.
4.
5.
6.
From the Server Manager, choose the Programs tab.
Click the Query Handler link.
The Query Handler window appears.
Use the Resource Picker to select the resource you want to set a default
query handler for.
If you choose a directory, the query handler you specify runs only when
the server receives a URL for that directory or any file in that directory.
In the Default Query Handler field, enter the full path for the CGI program
you want to use as the default for the resource you chose.
Click OK.
Save and apply your changes.
Using the Query Handler
Chapter 11, Extending Your Server With Programs 289

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Netscape Enterprise Server and is the answer not in the manual?

Table of Contents