User Guide

Table Of Contents
62 Chapter 4 Installing ColdFusion Server in HP-UX
Configuring Your Installation
After installation, may have to configure HP-UX to work with ColdFusion Server.
This section addresses the following topics:
Configuring Web servers manually
Configuring databases
Configuring Web servers manually
If you did not configure your Web server automatically during ColdFusion Server
installation, you must configure it manually. This section explains how to do this in
HP-UX, for these Web servers:
Netscape/iPlanet Web Server
Apache Web Server
Netscape/iPlanet Web Server
The ColdFusion Server NSAPI plug-in was tested with Netscape/iPlanet Enterprise
Web Server 3.5.1 and 4.1 and Netscape FastTrack Web Server 3.5.1 and 4.1. The
installation script prompts you to configure either of these servers automatically.
The Netscape/iPlanet plug-in
Netscape/iPlanet plug-ins for ColdFusion Server are installed in the opt/coldfusion/
webserver/nsapi directory.
The following procedure assumes that you installed the Netscape/iPlanet server in
/usr/netscape/server4 on the system named smurf.
To configure the Netscape/iPlanet plug-in:
1 Copy the plug-in to a directory named coldfusion in your server directories.
mkdir /usr/netscape/
server4/plugins/coldfusion
cp /opt/coldfusion/webserver/nsapi/coldfusion35.so \
/usr/netscape/
server4/plugins/coldfusion/coldfusion.so
2Edit the /usr/netscape/server4/https-smurf/config/mime.types file to add a
new ColdFusion Server type. Add the line:
type=magnus-internal/cold-fusion exts=cfm,dbm,cfml,dbml
3Edit the /usr/netscape/server4/https-surf/config/obj.conf file to add new
service and init directives. Add all of the following on one line:
Init fn="load-modules" shlib="/usr/netscape/server4/
plugins/coldfusion/coldfusion.so" funcs="DoCFRequest"
4 Add the following line in the default Object:
Service fn="DoCFRequest" method="(GET|POST)"
type="magnus-internal/cold-fusion"
5 Stop and restart the Web server.
install.book Page 62 Thursday, May 10, 2001 12:59 PM