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.
Apache Servers<br />
5.2.4.2 Check the Apache Binary Produced<br />
Run the following command to check that the <strong>CSP</strong> module has been successfully included in the Apache core (this command<br />
lists all modules currently built-into Apache):<br />
./httpd -l<br />
For example:<br />
Compiled in modules:<br />
core.c<br />
mod_access.c<br />
mod_auth.c<br />
mod_include.c<br />
mod_log_config.c<br />
mod_env.c<br />
mod_setenvif.c<br />
prefork.c<br />
http_core.c<br />
mod_mime.c<br />
mod_status.c<br />
mod_autoindex.c<br />
mod_asis.c<br />
mod_cgi.c<br />
mod_negotiation.c<br />
mod_dir.c<br />
mod_imap.c<br />
mod_actions.c<br />
mod_userdir.c<br />
mod_alias.c<br />
mod_csp.c<br />
5.2.4.3 Runtime <strong>Configuration</strong><br />
Edit the Apache configuration file httpd.conf. For the standard Apache distribution this file is in:<br />
/usr/apache/conf<br />
For Red Hat Linux, the runtime version of httpd.conf is in:<br />
/etc/httpd/conf<br />
Assuming that you wish to invoke the <strong>CSP</strong> engine for requested files that contain a .csp, .cls, or .zen extension, add the<br />
following section to the end of httpd.conf:<br />
<br />
SetHandler csp-handler<br />
<br />
ScriptAliasMatch /csp/bin/Systems/Module.cxw \<br />
"/usr/cachesys/csp/bin/nph-<strong>CSP</strong>cgiSys"<br />
ScriptAliasMatch /csp/bin/RunTime/Module.cxw \<br />
"/usr/cachesys/csp/bin/nph-<strong>CSP</strong>cgi"<br />
Alias /csp/ /usr/cachesys/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 />
Deny from all<br />
<br />
<br />
ScriptAlias /csp-bin/ "/usr/cachesys/csp/bin/"<br />
<br />
AllowOverride None<br />
Options None<br />
Order allow,deny<br />
Allow from all<br />
<br />
<strong>CSP</strong> <strong>Gateway</strong> <strong>Configuration</strong> <strong>Guide</strong> 117