Apache Configuration Files

The distributed configuration files (httpd.conf-dist and
mime.types, both located in the conf subdirectory)
work on TPF. Performance considerations may dictate setting KeepAlive to "Off"
(the default is "On") or lowering the Timeout value from the default
300 seconds (5 minutes) in order to reduce the number of active ECBs on your system.

What's Available in this Version

(The Apache organization provides
online documentation
describing the various modules and components of the server.)

Request the CGI script from a browser:

http://myserver/cgi-bin/filename.cgi

Porting Notes

Changes made due to differences between UNIX and
TPF's process models:

Signals: On TPF a signal that is sent to a process
remains unhandled until the process explicitly requests that signals
be handled using the tpf_process_signals() function.
Additionally, the default action for an alarm on TPF is to take
an OPR-7777 dump and exit. (On UNIX the default is the equivalent
of exit() with no dump taken.)
These differences necessitated a few modifications:

bypass the use of ap_block_alarms() &
ap_unblock_alarms()

add tpf_process_signals() calls

add select() calls to prevent blocking.

Find that function...

Some simple functions & definitions initially needed to be added
on TPF, such as FD_SET().
We've put these in src/os/tpf/os.h for now.

EBCDIC changes:

TPF-specific conversion tables between US-ASCII and
EBCDIC (character set IBM-1047 to be exact) were created
and put into ebcdic.c in the src/os/tpf directory.

Miscellaneous, minor changes:

Various minor changes (such as casting) were made due to
differences in how some functions are implemented on TPF.