This section lists the configuration directives the Mod_Rexx Package makes available. Most of the directives install handlers, but there are a few that affect the Rexx execution engine in other ways.
The access_checker phase is the first of three phases involved in authentication and authorization.
This handler is designed to do simple access control based on the browser's ip address or any other method the programmer wishes to apply that have nothing to do with the user's identity.
This directive can appear anywhere including <Directory>, <Location>, <Files> sections, or .htaccess files.
RexxAccessHandler rexxprocname |
RexxAccessHandler "c:/handlers/acshandlr.rex" |
The authentication phase is called when the file is password protected.
This handler checks a user's identity and credentials, usually by checking the username and password against a database.
This directive can appear anywhere including <Directory>, <Location>, <Files> sections, or .htaccess files.
RexxAuthenHandler rexxprocname |
RexxAuthenHandler "c:/handlers/athhandlr.rex" |
Once the user's identity has been verified in the authentication phase, this handler determines whether the the user is authorized the requested URI.
This directive can appear anywhere including <Directory>, <Location>, <Files> sections, or .htaccess files.
RexxAuthzHandler rexxprocname |
RexxAuthzHandler "c:/handlers/athhandlr.rex" |
After the type_checker phase but before content handling the fixup is called. Here you can make any last minute changes to the transaction before the response document is sent.
This directive can appear anywhere including <Directory>, <Location>, <Files> sections, or .htaccess files.
RexxFixupHandler rexxprocname |
RexxFixupHandler "c:/handlers/fixhandlr.rex" |
This handler is used to provide a special content handler for the transaction response. Usually used with the Apache SetHandler or AddHandler directive.
This directive can appear anywhere including <Directory>, <Location>, <Files> sections, or .htaccess files.
RexxHandler rexxprocname |
RexxHandler "c:/handlers/cnthandlr.rex" |
After the URI translation phase Apache give you another chance to examine the request headers and take special actions in the header_parser phase.
This handler phase is free to change request fields in the HTTP header or abort the transaction entirely.
This directive can appear in the <Directory>, <Location>, <Files> sections, or .htaccess files.
RexxHeaderParserHandler rexxprocname |
RexxHeaderParserHandler "c:/handlers/hdphandlr.rex" |
This phase is called after the transaction is either aborted or completed. You can perform any special logging for the transaction during this phase.
This directive can appear in the <Directory>, <Location>, <Files> sections, or .htaccess files.
RexxLogHandler rexxprocname |
RexxLogHandler "c:/handlers/loghandlr.rex" |
The post_read_request handler is called every time an Apache process receives an incomming request. At the point this handler is invoked the incomming request's data has been read and the HTTP header fields have been parsed, but the server has not translated the URI to a filename.
This handler phase is usually used to perform processing which must be done for each incomming transaction
This directive can appear in the main configuration file and within virtual host sections, but not within <Directory>, <Location>, <Files> sections, or .htaccess files.
RexxPostReadRequestHandler rexxprocname |
RexxPostReadRequestHandler "c:/handlers/prrhandlr.rex" |
This specifies the Rexx script to be used to compile an RSP file into a Rexx program.
You only need to specify this directive if you want to override the default location (in the PATH) or the name (rspcomp.rex).
This directive can appear anywhere including <Directory>, <Location>, <Files> sections, or .htaccess files.
RexxRspCompiler rspcomp |
RexxRspCompiler "c:/WINNT/rspcomp.rex" |
Initializes a Rexx variable prior to the handler being executed. This directive is only valid when used with one of the Mod_Rexx handler directives.
RexxSetVar varname varvalue |
RexxSetVar config_file "c:/Apache/my_app/conf.txt" |
This directive specifies the location and pattern to be used when the RSP compilation process creates temporary files. This directive is required when the Apache document tree contains RSP files.
This directive can appear anywhere including <Directory>, <Location>, <Files> sections, or .htaccess files.
RexxTempFileNameTemplate location_template |
Be sure that Apache has write access to the location you specify.
RexxTempFileNameTemplate "c:/temp/execrsp?????.rex" |
The uri_translate handler is called after Apache has parsed out the request. This handler is responsible for translating the partial URI into filename. The handler can also alter the URI itself or to change the request method.
This handler phase is usually used to recognize and handle proxy requests.
This directive can appear in the main configuration file and within virtual host sections, but not within <Directory>, <Location>, <Files> sections, or .htaccess files.
RexxTransHandler rexxprocname |
RexxTransHandler "c:/handlers/transhandlr.rex" |
After all the access and authentication phases, the type_checker phase assigns a MIME type to the requested document.
This directive can appear anywhere including <Directory>, <Location>, <Files> sections, or .htaccess files.
RexxTypeHandler rexxprocname |
RexxTypeHandler "c:/handlers/typhandlr.rex" |
Copyright (C) W. David Ashley 2004. All Rights Reserved. |