This section shows how to configure iPlanet Enterprise Server on UNIX to use the CGI Web Connector. This configuration consists of copying the contents of the cgi.netscape.conf
file into the appropriate web server configuration files. The cgi.netscape.conf
file was generated when you installed the Web Connector; it is located in the crystal/enterprise/
platform/wcs/conf
directory of your Web Connector installation.
Note: The iPlanet configuration files are usually located in the servers/
https/config
directory of your iPlanet installation. Here, https
For more information about the CGI binary itself (wcscgi.bin
), and the environment variables that are defined in its configuration script (wcscgi.cgi
), see Configuring other supported CGI web servers.
cgi.netscape.conf
file from the crystal/enterprise/
platform/wcs/conf
directory of your Web Connector installation.
Note the following type
lines:
#Add these lines to your mime.types file
type=magnus
type=magnus
type=magnus
type
lines to the bottom of the iPlanet mime.types
file.
magnus.conf
file (for
iPlanet 6) or init.conf
file (for iPlanet 7) contains the line:
Init fn="load
cgi.netscape.conf
file and note the customized NameTrans
lines that correspond to the following template:
NameTrans fn=pfx2dir from=/crystal dir="/crystal_root/webcontent"
NameTrans fn=pfx2dir from=/viewer dir="/crystal_root/viewers"
NameTrans fn=pfx2dir from=/crystalreportviewers10 dir="/crystal_root/viewers"
These lines map the web server virtual directories.
NameTrans
lines to the <Object name="default">
section of the iPlanet obj.conf
file (for iPlanet 6) or servername-o bj.conf
(for iPlanet 7, where servername is the name that you gave to the server instance you created when you configured iPlanet 7).
Be sure to add these lines before the NameTrans fn=
"document
line.
cgi.netscape.conf
file and note the Service
lines:
# Set the CGI handler for our mime types
Service fn=query
Service fn=query
Service fn=query
These lines map Crystal file types to the CGI Web Connector.
Service
lines to the <Object name="default">
section of the iPlanet obj.conf
file (for iPlanet 6) or servername-o bj.conf
(for iPlanet 7
)
after any existing Service
lines.
http://webserver/crystal/enterprise10/
Here, the term webserver represents the name of the web server machine. If you are unable to use the links on the Crystal Enterprise Launchpad, see Using Crystal Enterprise and the CMC with CGI.
Crystal Decisions http://www.crystaldecisions.com/ Support services http://support.crystaldecisions.com/ |