Appendix J. Mod_Rexx: Functions and Special Variables

This appendix lists the Mod_Rexx functions and special variables. Mod_Rexx is the package that permits Rexx scripts to control all aspects of the popular open source Apache Web server product. Chapter 17 describes Mod_Rexx and demonstrates how to script it. See that chapter for a full product description and sample program.

General Functions

These functions provide a base level of services necessary to work with the Apache Web server. They manage cookies and the error log, retrieve environmental information, and handle URLs.

General Function

Use

WWWAddCookie

Set a new cookie for the browser

WWWConstruct_URL

Return a URL for the specified path

WWWEscape_Path

Convert a path name to an escaped URL

WWWGetArgs

Get the GET/POST arguments

WWWGetCookies

Get the GET/POST cookies

WWWGetVersion

Get the Mod_Rexx version

WWWHTTP_time

Get the current RFC 822/1123 time

WWWInternal_Redirect

Create a new request from the specified URI

WWWLogError

Log an error message to Apache log file

WWWLogInfo

Log an informational message to Apache log file

WWWLogWarning

Log a warning message to Apache log file

WWWRun_Sub_Req

Run an Apache subrequest

WWWSendHTTPHeader

Set the MIME content, and send HTTP header

WWWSetHeaderValue

Set a new value for a cookie.

WWWSub_Req_Lookup_File

Run subrequest on a filename

WWWSub_Req_Lookup_URI

Run subrequest on a URI

Apache Request Record Functions

These functions provide information about and manage the request record pointer, information coming into the script ...

Get Rexx Programmer's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.