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 Servers<br />
nmake /f Makefile.nt installr INSTDIR=d:\progra~1\apache~1\apache<br />
You can safely ignore the many warning messages that the build process displays.<br />
3. Runtime configuration<br />
Edit the Apache configuration file httpd.conf. For the standard Apache distribution this file is in:<br />
C:\Program Files\Apache Group\Apache\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<br />
the following section to the end of httpd.conf:<br />
AddHandler isapi-isa dll<br />
AddHandler isapi-isa csp<br />
AddHandler isapi-isa cls<br />
AddHandler isapi-isa zen<br />
AddHandler isapi-isa cxw<br />
Alias /csp/ /cache-install-dir/csp/<br />
<br />
AllowOverride None<br />
Options MultiViews<br />
FollowSymLinks ExecCGI<br />
Order allow,deny<br />
Allow from all<br />
<br />
Deny from all<br />
<br />
<br />
Alias /csp/bin/Systems/Module.cxw<br />
/csp/bin/<strong>CSP</strong>msSys.dll<br />
4. Restart Apache after making changes to httpd.conf.<br />
4.3.5.2 Operating and Managing the <strong>Gateway</strong> with Apache and ISAPI<br />
To access the <strong>CSP</strong> Web <strong>Gateway</strong> Management page, point your browser at one of the following locations:<br />
http://localhost:/csp/bin/Systems/Module.cxw<br />
http://localhost:/csp/bin/<strong>CSP</strong>msSys.dll<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 />
4.3.6 Locked-down Apache Environments<br />
Occasionally Apache is locked-down such that you cannot easily configure the server to access files outside the Apache<br />
file system.<br />
For configurations locked down in this way, the <strong>CSP</strong> <strong>Gateway</strong> configurations discussed in previous sections result in HTTP<br />
403 Forbidden error codes being returned when you try to access <strong>CSP</strong> resources. To work with these secure configurations<br />
is to copy the file system under:<br />
\cache-install-dir\csp\<br />
to a location under the Apache root:<br />
C:\Program Files\Apache Group\Apache\<br />
Specify appropriate changes to the paths specified in the Apache configuration.<br />
An alternative approach is to configure the <strong>CSP</strong> <strong>Gateway</strong> to work within the pre-configured directories provided by Apache.<br />
1. Copy CGI modules to: C:\Program Files\Apache Group\Apache\cgi-bin\ as follows:<br />
<strong>CSP</strong> <strong>Gateway</strong> <strong>Configuration</strong> <strong>Guide</strong> 113