| |  | Setting Up VM:Webgateway to Use Worker Machines Worker machines (also called workers) are VM userids that VM:Webgateway uses to run filters and CGI programs. Use the following steps to set up VM:Webgateway to use workers: - Authorize VM:Webgateway to use worker machines.
- Add workers to your VM system and VM:Webgateway.
You can add workers and delete workers from your VM system and VM:Webgateway at any time. - If you want to customize how VM:Webgateway sets up a worker machine before it executes a filter or CGI program in the machine, set up the VIWEXIT1 user exit.
- If you want to customize how VM:Webgateway cleans up a worker machine after the execution of a filter or a CGI program, set up the VIWEXIT2 user exit.
Note: Typically, you will use either the VIWEXIT1 user exit or the VIWEXIT2 user exit, but not both. Using both user exits increases the server overhead for using workers. - If you are using workers to run filters, you must set up filters.
- If you are using workers to run CGI programs, you must define one or more content filetypes that tell VM:Webgateway to run the CGI programs on workers.
- If you want to enable users to serve CGI programs from user pages, you must identify the user as a CGI userid.
|