CSP Gateway Configuration Guide - InterSystems Documentation
CSP Gateway Configuration Guide - InterSystems Documentation
CSP Gateway Configuration Guide - InterSystems Documentation
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Sun Web Servers<br />
The configuration file (<strong>CSP</strong>.INI) and Event Log (<strong>CSP</strong>.LOG) are written in this directory for non-NSD based connectivity<br />
options.<br />
2. HyperEvents Components<br />
• <strong>CSP</strong>Broker.js<br />
• <strong>CSP</strong>xmlhttp.js<br />
The default location for these files is:<br />
/cache-install-dir/csp/broker<br />
3. Miscellaneous static resources used by the <strong>CSP</strong> Samples<br />
A number of static web resources (such as image files) are required by the <strong>CSP</strong> Samples. The default location for these<br />
files is:<br />
/cache-install-dir/csp/samples<br />
4. Miscellaneous static resources used by the Caché Management Portal.<br />
A number of static web resources (such as image files) are required by the Management Portal. The default location<br />
for these files is:<br />
/cache-install-dir/csp/sys<br />
4.2.2 Recommended Option: NSAPI Modules (<strong>CSP</strong>n3.so)<br />
Configure the web server to recognize <strong>CSP</strong> requests (files of type .csp, .cls, and .zen) and pass them to the <strong>CSP</strong> gateway<br />
for processing.<br />
The web server configuration files (magnus.conf and obj.conf) are in the following directory:<br />
/usr/SUNWwbsvr/https-/config/<br />
You need to add directives to load the NSAPI modules and instructions for recognizing and processing <strong>CSP</strong> files to the<br />
web server configuration.<br />
4.2.2.1 Directives<br />
Follow the direction in each of the directive subsections below.<br />
Directives for Loading NSAPI Modules<br />
The Init directive instructs the web server to load NSAPI modules. These directives should be added to the core magnus.conf<br />
file. These core configuration directives are always present, an example of which is as follows:<br />
Init fn=load-types mime-types=mime.types<br />
Locate the block of core Init directives and add the following section before this block:<br />
Init fn=load-modules shlib=/opt/cspgateway/bin/<strong>CSP</strong>n3.so \<br />
funcs=csp_term,csp_init,csp_req<br />
Init fn=csp_init shlib=”/opt/cspgateway/bin/<strong>CSP</strong>n3.so”<br />
Note that Init directives are made up of a single line. Due to the limitations of space, the lines shown above are wrapped<br />
before the function declarations (funcs).<br />
<strong>CSP</strong> <strong>Gateway</strong> <strong>Configuration</strong> <strong>Guide</strong> 79