| |
| | |
| | Identifying CGI UseridsCGI Userids | Content Filetypes for CGI Programs By default, VM:Webgateway serves CGI programs only from the server root domain. If you allow VM:Webgateway to serve data from user pages, you can also identify VM userids that can serve CGI programs. These userids are called CGI userids. You can configure CGI userids from a web browser or a VM userid that has SYSADMIN authorization. From a web browser: Use the Identify User-Owned CGI Programs configuration form. Select that you want to add a CGI userid; then select the Display Next Form button. On the second screen, identify the VM userids you want to allow to serve CGI programs along with the filetype each user can use for CGI programs. From a VM userid: Enter the CONFIG CGIUSER command. Specify the ADD parameter followed by a VM userid you want to allow to serve CGI programs and the content filetype the user can use for CGI programs. CGI UseridWhen identifying a CGI userid, specify a 1-8 character userid that contains only characters valid in VM userids. The CGI userid does not have to exist on your VM system. VM:Webgateway cannot serve CGI programs that run on workers from a CGI userid that does not exist. If you specify a userid that does not exist for the CGI userid, specify a content filetype defined for a CGI program that runs on the VM:Webgateway SVM. Content Filetypes for CGI ProgramsBefore VM:Webgateway can execute a CGI program, it must set up the environment in which to run the program. In addition, VM:Webgateway must know whether it is authorized to pass the HTTP Authorization header to the program. The content filetype the user has assigned to the CGI program gives VM:Webgateway this information. For a CMS file, the content filetype is the program's CMS filetype. For a BFS file, the content filetype is the program's BFS extension. To display a list of filetypes that have been configured for CGI programs, enter this command from a VM userid: query filetype * environment * WARNING: Use caution when allowing users to serve CGI programs that run on the VM:Webgateway SVM. These CGI programs have access to data that resides on minidisks and SFS directories accessed by the VM:Webgateway SVM and have the privileges and authorizations of the VM:Webgateway SVM. In addition, when a CGI program that runs in Webshare compatibility mode is executing on the SVM (CGI environment SVMWEBSHARE), VM:Webgateway can perform no other processing. When a CGI program that runs as an EXEC is executing on the SVM (CGI environment SVMEXEC), VM:Webgateway can perform no other processing between uses of the CGI program command. To avoid these situations and improve VM:Webgateway throughput, allow users to run their CGI programs in worker machines. |
| | ||||
| | ||||
| Copyright © 1998, Sterling Software, Inc. |