From the Class Manager, choose the Programs tab.
Click the Query Handler link.
The Query Handler window appears.
Use the Editing Picker to select the resource you want to set with a default query handler.
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.
Save and apply your changes.