####################################
#
# HOWTO_WEBSERVER
#
# Copyright (c) 2000 by talentsoft, inc. 
# ALL RIGHTS RESERVED
#
# DESCRIPTION:
# Instructions for using webplus with Apache and Netscape iPlanet
#
# CHANGES LOG:
####################################

Netscape iPlantet Web Server:

1. Configuring the cgi-bin directory:
	1) You must manually create the directory:
		mkdir /usr/netscape/server4/cgi-bin
	2) And change the permissions for world readable and world executable
		chmod o+r /usr/netscape/server4/cgi-bin
		chmod o+x /usr/netscape/server4/cgi-bin
	3) Then you must configure iPlanet to use this directory as the cgi-bin dir
		/usr/netscape/server4/startconsole
		http://<homename>:8888
		login un: admin pw: admin
		Click on "Manage" button
		Click on "Programs" tab, and then "CGI Directory"
		URL prefix: http://<hostname>/cgi-bin
		CGI directory: /usr/netscape/server4/cgi-bin

2. Installing the Webplus module for Netscape (NSAPI)
	Execute the following command:
	/usr/local/webplus/bin/instnsapi /netscape/server/https-<hostname>/config/obj.conf /webplus/bin/webp_netscape.so <path-to-cgi-bin-directory>

Example: /usr/local/webplus/bin/instnsapi /netscape/server/https-<hostname>/config/obj.conf /webplus/bin/webp_netscape.so /netscape/server/cgi-bin

Apache Web Server:

1. Restarting Apache on Caldera Openlinux
	/usr/sbin/httpd.apache -f /etc/httpd/apache/conf/httpd.conf

2. WebPlus module for Apache 
	To install Web+ apache module webp_apache.so. Please add the following two
	lines to the end of the LoadModule list (Your Apache server has to support DSO). In order to get your web server to support Apache, you may need to recompile it from source and give configure a directive such as --enable-shared=max. Please consult the Apache documentation for more details. You will also need to copy the file webp_apache.so to libexec subdirectory of the apache web server.

	LoadModule webp_module  libexec/webp_apache.so
	Webplus /full-path/webplus.conf 

	Example: Webplus /usr/local/apache/cgi-bin/webplus.conf

	into httpd.conf. The please add the following line:

	AddModule webpapache.cpp

	to the end of AddModule list in httpd.conf.

	Then restart the Apache server.
