
Enterprise Server 6.1 APIs
14 Netscape Enterprise Server Programmer’s Guide • April 2002 (Draft)
6. Set the owner of Cgistub to root:
chown root Cgistub
7. Set the permissions on Cgistub:
chmod 4711 Cgistub
8. You can give each reference to the send-cgi SAF in obj.conf a user
parameter.For example:
Service fn="send-cgi" user="user"
You can use variable substitution. For example, in server.xml,giveaVS
(virtual server) element the following VARS subelement:
<VARS user="user"/>
This lets you write the send-cgi SAF line in obj.conf as follows:
Service fn="send-cgi" user="$user"
For more information about send-cgi, server.xml,andobj.conf,seethe
Netscape Enterprise Server NSAPI Programmer’s Guide.
9. Restart the server so these changes take effect.
NOTE Installing
Cgistub in the server_root/https-instance/private
directoryis recommended. If you installit anywhere else, youmust
specify the path to
Cgistub in the init-cgi function in
magnus.conf.Fordetails,seetheNetscape Enterprise Server NSAPI
Programmer’s Guide
NOTE It may not be possible to install the suid Cgistub program on an
NFS mount. If you wish to use an
suid Cgistub, you must install
yourserver instance to a local file system.
Comentários a estes Manuais