Apache Configuration Directives

The configuration directives in this section are available to configure the JADE mod_ jadehttp module. It uses the standard Apache configuration syntax, rather than implementing configuration via an initialization file.

Set the value of the JadeHttp_Trace directive to true to ensure the security of your data.

The concept and intent of these directives is the same as the jadehttp.ini file parameters, but the syntax differs. For details about the jadehttp.ini file parameters, see "Configuring JadeHttp for Remote Connections", earlier in this chapter.

Most of the directives specific to mod_ jadehttp have the same meaning as their IIS counterparts (described in "Controlling the Location of Files Uploaded via a Web Application" under "Configuring JadeHttp for Remote Connections", earlier in this chapter). The JADE mod_ jadehttp module configuration directives are as follows.

For details, see the following subsections.

To specify that TCP/IP connections are used to connect to JADE applications from Apache, you must define a <Location> directive within jadehttp.conf for each application, with an ApplicationType directive and unique multiple TcpConnection[n] directives between each Application directive.

The following mod_ jadehttp directives apply between the core Apache <Location> and </Location> directives. Apache processes the <Location> directives in the order in which they are found in the configuration file, following any <Files> and <Directory> sections and after .htaccess files have been read and processed.

<Location /jade>
    SetHandler jadehttp-handler
    ApplicationType WebServices
    Application WebApplication
    TcpConnection PC1 21000 5 15 300
</Location>

This allows mod_ jadehttp directives to be placed in higher locations and their values to become the defaults for lower locations unless you explicitly override them.

In the following example, the handler and FaultDocument directive specified in <Location /jade> also apply to <Location /jade/subloc>.

<Location /jade>
    SetHandler jadehttp-handler
    FaultDocument PostTooLarge "http://server/ohdarn.html"
</Location>
<Location /jade/subloc>
    ApplicationType WebEnabledForms
    Application WebApplication
    TcpConnection PC1 21000 5 10 200
</Location>