Skip to main content

Basic Configuration

The Web Server, CSP Gateway, and CSP Server, all need to be configured to work together:

CSP Configuration



Web Server

  • Virtual Directory — A directory name that the Web Server maps to a physical directory. Put non-CSP content in the physical directory.

  • Access Control — Web Server mechanisms for authenticating users and authorizing access to resources.

CSP Gateway

  • Application Path — The part of a URL path that provides a common address for the CSP pages that constitute a single CSP application.

  • Server Path — Address and port number for the Caché Server.

Note: Access the CSP Gateway through a browser. When using IIS on Windows use this address: http://localhost/csp/bin/cspmssys.dll. When using Apache v2 on Windows use this address: http://localhost/csp/bin/systems/module.cxw.

CSP Server

  • Physical Path — The directory containing the CSP files. The path is relative to the <cache-install>/csp.

  • Namespace — The application's Caché namespace.

In addition there are several other server related settings that can be configured including Cookies, Timeouts, Custom Error Pages, and so on.


A standard Caché installation should not require any additional configuration for CSP pages added to the USER namespace, if the built-in Apache Web server is being used. For more information on the built-in Apache Web server, read Minimal Apache Web Server or Private Web Server in Introduction to the CSP Gateway. For more information on configuring other Web servers for use with CSP, please read chapters 4–6 of Introduction to the CSP Gateway.

To learn more about configuring these three components, read CSP Configuration in Using Caché Server Pages .

FeedbackOpens in a new tab