A SERVICE OF

logo

Chapter 2, Setting Up the Gateway 21
HTTP Server Configuration
Adding an additional CGI directory is necessary to make the gateway’s CGI
programs available. From the server manager for the HTTP server:
1. Go to Programs | CGI Directory.
2. In the URL prefix field, enter
/dsgw/bin
3. In the CGI directory field, enter:
<NSHOME>/dsgw/bin
4. Click OK, then Save and Apply.
Add an Additional CGI Directory (for 3.x Gateways)
Adding an additional CGI directory is necessary to make the gateway’s CGI
programs available. From the server manager for the HTTP server:
1. Go to Programs | CGI Directory.
2. In the URL prefix field, enter ds.
3. In the CGI directory field, enter
<NSHOME>/slapd-<serverID>/dsgw/bin
4. Click OK, then Save and Apply.
Change Permissions of Cookie Directory (UNIX
only)
To enable the gateway to store cookies on the HTTP server, the gateway must
have write access to the HTTP server’s cookie directory. From the server
manager for the HTTP server:
1. Go to System Settings|View Server Settings and note the value set for the
User field.
If this value is set to nobody, check to make sure that the server is not
running as a named user. For example, on Solaris grep for the http process:
ps -ef | grep http