30.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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.8.2 Server-side VB-Script in <strong>CSP</strong> (Serving ASP Content through <strong>CSP</strong>) ............................. 41<br />

2.9 Registering Additional File Types with <strong>CSP</strong> ............................................................................ 43<br />

2.9.1 Internet Information Services Version 7 ......................................................................... 43<br />

2.9.2 Internet Information Services Version 6 ......................................................................... 44<br />

2.9.3 Sun Web Servers ............................................................................................................ 44<br />

2.9.4 Apache Servers ............................................................................................................... 44<br />

2.10 Implementing HTTP authentication for <strong>CSP</strong> applications ..................................................... 46<br />

2.10.1 Standard HTTP authentication in Apache (mod_auth) ................................................ 47<br />

2.10.2 Authenticating in <strong>CSP</strong> at the Same Time as the Request is Processed. ....................... 47<br />

2.10.3 Authenticating in <strong>CSP</strong> before the Request is Processed. ............................................ 48<br />

3 Using Caché Server Pages with a Remote Web Server ................................................................. 51<br />

3.1 Configuring the Web Server and <strong>CSP</strong> <strong>Gateway</strong> ....................................................................... 51<br />

3.1.1 Install the Caché Shell on the Web Server Machine ...................................................... 51<br />

3.1.2 Configure the <strong>CSP</strong> <strong>Gateway</strong> .......................................................................................... 52<br />

3.1.3 If Serving Static Files from the Web Server ................................................................... 52<br />

3.1.4 Configure Web Server Paths .......................................................................................... 52<br />

3.2 Accessing <strong>CSP</strong> on Multiple Caché Servers .............................................................................. 54<br />

3.3 Configuring Apache Virtual Hosts ........................................................................................... 55<br />

3.3.1 Virtual Hosts Overview .................................................................................................. 56<br />

4 Web Servers for Microsoft Windows .............................................................................................. 59<br />

4.1 Microsoft Internet Information Services Version 6 (IIS v6) .................................................... 59<br />

4.1.1 Installing with Microsoft Web Servers (All Connectivity Options) ............................... 59<br />

4.1.2 Option 1: IIS and ISAPI Modules (<strong>CSP</strong>ms.dll) ............................................................. 61<br />

4.1.3 Option 2: IIS and ISAPI Module with NSD (<strong>CSP</strong>cms.dll) ............................................ 64<br />

4.1.4 Option 3: IIS and CGI Modules with NSD (nph-<strong>CSP</strong>cgi.exe) ...................................... 66<br />

4.1.5 Using the ISAPI Filter (<strong>CSP</strong>msf1.dll) ............................................................................ 68<br />

4.1.6 IIS Application Protection Levels .................................................................................. 69<br />

4.1.7 IIS Application Pools and Web Gardens ........................................................................ 70<br />

4.2 Microsoft Internet Information Services Version 7 (IIS v7) ................................................... 72<br />

4.2.1 Installation ...................................................................................................................... 73<br />

4.2.2 Determining the Supported Interfaces ........................................................................... 75<br />

4.2.3 Installing the ISAPI and CGI Services .......................................................................... 75<br />

4.2.4 Setting Permissions for the <strong>Gateway</strong> Components ........................................................ 76<br />

4.2.5 Configuring the <strong>CSP</strong> Application Path .......................................................................... 77<br />

4.2.6 Option 1: Using the Native Modules (<strong>CSP</strong>ms*.dll) ....................................................... 77<br />

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

4.2.8 Option 3: Using the CGI Modules with the NSD (nph-<strong>CSP</strong>cgi*.exe) ........................... 82<br />

4.2.9 Option 4: Using the ISAPI Modules (<strong>CSP</strong>ms*.dll) ....................................................... 85<br />

4.2.10 Option 5: Using an ISAPI Module with the NSD (<strong>CSP</strong>cms.dll) ................................. 87<br />

4.2.11 Restarting IIS ............................................................................................................... 90<br />

4.2.12 Troubleshooting ........................................................................................................... 90<br />

4.3 Apache Servers ......................................................................................................................... 91<br />

4.3.1 Installing with Apache Servers (All Connectivity Options) ........................................... 91<br />

4.3.2 Option 1: Apache API Modules (<strong>CSP</strong>a.dll) .................................................................... 93<br />

4.3.3 Option 2: Apache and CGI Modules with NSD (nph-<strong>CSP</strong>cgi.exe) ............................... 94<br />

4.3.4 Option 3: Apache API Module with NSD (mod_csp.dll) .............................................. 96<br />

4.3.5 Option 4: Apache and ISAPI Modules (<strong>CSP</strong>ms.dll) ...................................................... 97<br />

4.3.6 Locked-down Apache Environments ............................................................................. 98<br />

4.4 Operating the Network Service Daemon (NSD) .................................................................... 100<br />

4.4.1 Starting NSD on Alternative TCP Port ........................................................................ 100<br />

iv<br />

<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!