CSP Gateway Configuration Guide - InterSystems Documentation
CSP Gateway Configuration Guide - InterSystems Documentation
CSP Gateway Configuration Guide - InterSystems Documentation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Apache and HP Secure Web Server (SWS)<br />
Configure the Web server so that it recognizes <strong>CSP</strong> requests (files of type .csp, .cls, and .zen) and passes them to the <strong>CSP</strong><br />
<strong>Gateway</strong> for processing.<br />
The Web server configuration file (HTTPD.CONF) is found in the following directory:<br />
APACHE$ROOT:[CONF]<br />
Add the following section to the end of HTTPD.CONF. If you are using SWS/Apache Version 2.x, then specify<br />
MOD_<strong>CSP</strong>2.EXE (instead of MOD_<strong>CSP</strong>.EXE for Version 1.3.x) in the configuration block below.<br />
LoadModule csp_module /apache$root/csp/bin/mod_csp.exe<br />
AddHandler csp-handler csp cls zen<br />
<br />
AllowOverride None<br />
Options FollowSymLinks ExecCGI<br />
Order allow,deny<br />
Allow from all<br />
<br />
Alias /csp/ /apache$root/csp/<br />
<br />
AllowOverride None<br />
Options MultiViews FollowSymLinks ExecCGI<br />
Order allow,deny<br />
Allow from all<br />
<br />
Deny from all<br />
<br />
<br />
ScriptAliasMatch /csp/bin/Systems/Module.cxw \<br />
"/apache$root/csp/bin/nph-<strong>CSP</strong>cgiSys"<br />
ScriptAliasMatch /csp/bin/RunTime/Module.cxw \<br />
"/apache$root/csp/bin/nph-<strong>CSP</strong>cgi"<br />
ScriptAlias /csp-bin/<br />
"/apache$root/csp/bin/"<br />
<br />
AllowOverride None<br />
Options None<br />
Order allow,deny<br />
Allow from all<br />
<br />
Restart SWS/Apache after making these changes to the configuration file.<br />
6.1.2.1 Operating and Managing the <strong>Gateway</strong> with OpenVMS API and NSD<br />
This connectivity option depends on the <strong>CSP</strong> <strong>Gateway</strong>’s Network Service Daemon (NSD).<br />
1. Start the <strong>CSP</strong> NSD as described in Operating the Network Service Daemon (NSD).<br />
2. Restart SWS/Apache after making changes to its configuration file (HTTPD.CONF).<br />
The order in which SWS/Apache and the NSD are started is unimportant.<br />
3. To access the <strong>CSP</strong> Web <strong>Gateway</strong> Management page, point your browser at one of the following locations. Although<br />
<strong>CSP</strong> pages are served through the higher-performing module (MOD_<strong>CSP</strong>*.EXE), the <strong>CSP</strong> Web <strong>Gateway</strong> Management<br />
page is accessed through the CGI module dedicated to this purpose (NPH-<strong>CSP</strong>CGISYS.EXE).<br />
http://localhost:/csp/bin/Systems/Module.cxw<br />
http://localhost:/csp-bin/nph-<strong>CSP</strong>cgiSys.exe<br />
If you see an Unauthorized User error message, refer to the section on security considerations.<br />
The <strong>CSP</strong> engine is automatically invoked for requested files that contain a .csp, .cls, or .zen extension. For example:<br />
http://localhost:/csp/samples/menu.csp<br />
<strong>CSP</strong> <strong>Gateway</strong> <strong>Configuration</strong> <strong>Guide</strong> 127