| | | QUERY CGIUSER Command Syntax | Parameters/Options | Examples Displays a list of userids that can serve CGI programs from their user pages, and the content filetypes that the user can use for CGI programs. You can limit the display to specific users and content filetypes. General users can display information for their own userids only. System administrators can display information for all userids. To control which users can serve CGI programs from their user pages, use the CONFIG CGIUSER command. QUERY CGIUSER [userid [content_filetype]] - userid
- Userid to display information about. You can specify pattern-matching characters in userid. For general users, if you omit the userid or specify an asterisk, VM:Webgateway displays information about your (the requesting) userid. For system administrators, if you omit the userid or specify an asterisk, VM:Webgateway displays information about all userids that can serve CGI programs from their user pages.
- content_filetype
- Content filetype for a CGI program. You can specify pattern-matching characters in content_filetype. If you do not specify a content filetype, VM:Webgateway displays information about all content filetypes for the specified user.
- To determine if you can serve CGI programs from your (LEANNA) user page, enter the following command from VM userid LEANNA:
vmwebsrv query cgiuser leanna VM:Webgateway responds: CGIUSER Filetype -------- -------- LEANNA CGIEXEC The response indicates that userid LEANNA can serve CGI programs that have the content filetype CGIEXEC. Enter the QUERY FILETYPE command from a VM userid specifying the content filetype CGIEXEC to determine the type of CGI program userid LEANNA can serve. - To display a list of all userids that can serve CGI programs from their user pages, enter this command from your VM userid:
vmwebsrv query cgiuser VM:Webgateway responds: CGIUSER Filetype -------- -------- DAVIS LISTING JOHANN LISTING LEANNA CGIEXEC LINDSAY CGIEXEC - To display a list of userids that can serve CGI programs with a content filetype of CGIEXEC from their user pages, enter this command from the VM:Webgateway service virtual machine:
query cgiuser * cgiexec VM:Webgateway responds: CGIUSER Filetype -------- -------- LEANNA CGIEXEC LINDSAY CGIEXEC |