Consultor Eletrônico



Kbase P14862: How to configure cgiip messenger with Sun ONE Web Server?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/21/2005
Status: Verified

GOAL:

How to configure cgiip messenger with Sun ONE Web Server?

FACT(s) (Environment):

WebSpeed 3.1x
iPlanet 6.0

FIX:

1. Create a physical directory for scripts under netscape webserver install directory, i.e., cgi or cgi-bin
2. Copy the cgiip messenger into this newly created directory
On Unix - Copy $DLC/bin/wspd_cgi.sh into the newly created directory
On Windows - Copy %DLC%\bin\cgiip.exe into the newly created directory
3. Go to Netscape's Admin Server (Administration Server) . To do this, you will need to know which port the web server's administration server is running on. Once you know the port, you can access it through a browser. For more information on the Administration Server for Sun ONE and/or IPlanet, please refer to http://docs.sun.com/source/816-5682-10/esgstart.htm#13995

4. Under the "Servers" tab, select the server you want to manage via the pull down list
5. Once you've selected the server via the pull down list, select "Manage"
6. On the top right part of the menu, you will see link for "Class Manager"
7. Select "Class Manager"
8. Select "Programs" tab
9. Under the "Virtual Servers" tab, select "CGI Directory" menu on the left
10. There will be two fields under this menu, URL prefix and CGI directory.
11. For the URL prefix field, define an alias name for where the messenger is located.
i.e., /cgi or /cgi-bin
12. For the CGI directory field, define CGI directory name that you created in Step 1. You will need to define the entire directory structure.
i.e., /usr2/SunOne_6.0SP5/cgi-bin
13. Once all settings have been set, select OK
14. This will create a new entry for the CGI directories.
Note in windows, when entering "backslashes" for the directories, the webserver will display the information in "forward slashes"
Example
Prefix: /cgi
CGI Directory: d:/iPlanet/Servers/cgi
11. On the top menu, you will see link "Apply", select this link to save the changes
12. Stop and restart webserver
13. Test URL for your platform. Please note that ensure the the NameServer and webspeed broker are configured correctly and running.
On Windows: http://host:port/cgi/cgiip.exe/WService=wsbroker1/ping
On Unix: http://host:port/cgi-bin/wspd_cgi.sh/WService=wsbroker1/ping