Skip to content
JosepMariaBlascoPublic

About

A servlet processor for Apache and ooRexx

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

RexxHTTP

RexxHTTP is hosted on:

The documentation copy at https://rexx.epbcn.com/rexxhttp/ uses the Rexx Highlighter to display Rexx programs, and therefore has better highlighting. On the other hand, the copy at https://github.com/JosepMariaBlasco/rexxhttp/ has version control, bug reporting, and all the features offered by GitHub.

What it is

RexxHTTP is a rexxlet processor for ooRexx: it lets you write web rexxlets as ordinary ooRexx programs running under CGI on Apache. A rexxlet receives a request and a response object and produces its body with ordinary Say or CharOut; the request and response objects are also placed in the environment as .request and .response.

The central design idea is lazy headers: a rexxlet may write body content before fixing the response headers, and the headers are emitted on the first flush. This is made possible by a buffered output stream that sits between the rexxlet and Apache.

RexxHTTP is written by Josep Maria Blasco <josep.maria.blasco@epbcn.com> and distributed under the Apache 2.0 license. Some files may contain contributions from other authors, as attributed in the corresponding copyright notices.

Download

https://rexx.epbcn.com/rexxhttp/rexxhttp-latest.zip.

Requirements

Installation

  • Automated install, for clean machines: unzip the distribution package in a directory of your choice, and open a console terminal in the install/ subdirectory (under Windows, you have to open the console as an administrator; under Linux, you will need the sudo password), then type install.
  • Manual installation: please refer to the manual.

Trying it in an AI assistant

If you'd like to experiment with RexxHTTP inside an AI assistant, you can try our skill at https://rexx.epbcn.com/skills/rexxhttp.md, part of the Rexx skills collection.

History

RexxHTTP grew out of a rexxlet processor first published in 2006 (version 0.1, with a full 73-page manual) and rewritten in 2017 (version 0.2), which today serves some 40,000 URLs in production at epbcn.com and other sites. This release is a clean, distilled 1.0: the dead branches of the original (mod_rexx, OS/2, Microsoft IIS, the RSP page compiler) are gone, and the documentation describes only what is actually verified against the code.

Documentation

The manual is in rexxhttp.pdf.

Examples

You can also take a look at our examples (source code included).

Repository layout

Some sites that use RexxHTTP

About

A servlet processor for Apache and ooRexx

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages