25.01.2015 Views

CSP Gateway Configuration Guide - InterSystems Documentation

CSP Gateway Configuration Guide - InterSystems Documentation

CSP Gateway Configuration Guide - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Atypical <strong>Configuration</strong>s for Microsoft Windows<br />

A.2.3 Atypical Option 2: Using a Native Module with the NSD (<strong>CSP</strong>cms.dll)<br />

IIS 7 does not, by default, run ISAPI extensions, ISAPI filters, or CGI modules. This option requires the CGI modules service<br />

for running the <strong>Gateway</strong> Management module (nph-<strong>CSP</strong>cgiSys.exe).<br />

Follow the instructions in the section for installing the CGI service, Installing the ISAPI and CGI Services (If Required.<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 />

A.2.3.1 Registering the Runtime Native Module<br />

DLL: <strong>CSP</strong>cms.dll<br />

Before this module can be used it must be registered with IIS. This is done in the Internet Information Services (IIS) Manager<br />

control panel.<br />

1. Open the Internet Information Services (IIS) Manager window.<br />

2. In the left panel, highlight:<br />

[MACHINE_NAME] ([machine_name]\[user_name])<br />

3. In the middle panel, double-click the Modules icon.<br />

4. In the right panel, click Add Native Module.<br />

5. Click Register and enter the following details in the Register Native Module dialogue:<br />

Name: <strong>CSP</strong>cms<br />

Path: C:\inetpub\<strong>CSP</strong><strong>Gateway</strong>\<strong>CSP</strong>cms.dll<br />

Click OK.<br />

6. In the left panel expand the top level to reveal the Web Sites section, then the Default Web Site section. Highlight the<br />

Default Web Site section:<br />

[MACHINE_NAME] ([machine_name]\[user_name])<br />

Web Sites<br />

Default Web Site<br />

7. In the right panel, click Add Native Module.<br />

8. In the Add Native Module dialogue select <strong>CSP</strong>cms then click OK.<br />

A.2.3.2 Enabling the CGI module for <strong>Gateway</strong> Management<br />

Executable: nph-<strong>CSP</strong>cgiSys.exe<br />

Before this module can be used it must be registered with IIS as being an Allowed application. This is done in the Internet<br />

Information Services (IIS) Manager control panel.<br />

1. Open the Internet Information Services (IIS) Manager.<br />

2. In the left panel, highlight:<br />

[MACHINE_NAME] ([machine_name]\[user_name])<br />

3. In the middle panel, double-click the ISAPI and CGI Restrictions icon.<br />

4. In the right panel, click Add.<br />

5. In the Add ISAPI or CGI Restriction dialogue, enter:<br />

98 <strong>CSP</strong> <strong>Gateway</strong> <strong>Configuration</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!