If you are using iPlanet Enterprise Server 6 with the NSAPI Connector, the virtual path mapping is made in the Init
line of the iPlanet magnus.conf
file. If you are using iPlanet Enterprise Server 7 with the NSAPI Connector, the virtual path mapping is made in the Init
line of the iPlanet init.conf
file. In either case, ensure that the following line appears:
Init fn="req_init" WCSHosts="WCSLIST" ClientPool="5" ConnectorTimeout="600000" WCSPathMap="/crystal;.cwr;webcontent,/ crystal;.csp;webcontent,/crystal;.cri;webcontent,/ crystalreportviewers10;.csp;viewers"
This Init
line provides the NSAPI Web Connector module with the instructions necessary for mapping paths correctly. The relevant portions can be broken down as follows:
WCSHosts="
WCSLIST"
This line defines the Web Component Server(s) that the NSAPI module must communicate with. WCSLIST is a list of one or more WCS hosts, specified as machinename:
portnumber (separate multiple entries with commas).
WCSPathMap="/crystal;.csp;
webcontent,..."
The WCSPathMap
command maps paths from the web server to the WCS based on file type. The portion quoted here defines how the NSAPI module translates file paths for each Crystal Server Page (.csp file) that is requested from the /crystal
virtual directory structure on the web server.
Any .csp request made to http://
webserver/crystal
must be mapped relative to the web content directory on the WCS. The virtual directory on the web server is specified first (/crystal
); the file extension is specified second (.csp
); and the absolute path of the Crystal Enterprise web content directory on the Web Component Server is specified last (webcontent).
The default webcontent value is:
C:\Program Files\Crystal Decisions\Enterprise 10\Web Content
/crystalreportviewers10;.csp;
viewers"
This final portion of the WCSPathMap
command translates file paths for each Crystal Server Page (.csp file) that is requested from the /crystalreportviewers10
virtual directory structure on the web server.
Any .csp request made to http://
webserver/crystalreportviewers10
must be mapped relative to the viewers directory on the WCS. The virtual directory on the web server is specified first (/crystalreportviewers10
); the file extension is specified second (csp
); and the absolute path of the viewers directory on the Web Component Server is specified last (viewers).
C:\Program Files\Common Files\Crystal Decisions\2.5\crystalreportviewers10
Note: The entries for each mapped file type are separated by commas, but all entries are contained within double
Crystal Decisions http://www.crystaldecisions.com/ Support services http://support.crystaldecisions.com/ |