2ronwalf<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2ronwalf<
TITLE>The Apache TPF Port</
TITLE>
2ronwalf<
blockquote><
strong>Warning:</
strong>
2ronwalfThis document has not been updated to take into account changes
2ronwalfmade in the 2.0 version of the Apache HTTP Server. Some of the
2ronwalfinformation may still be relevant, but please use it
2ronwalf<
H1 align="center">Overview of the Apache TPF Port</
H1>
2ronwalf<
CENTER>[ <
A HREF="#configuration_files">Configuration Files</
A>
2ronwalf | <
A HREF="#whats_available">What's Available</
A>
2ronwalf | <
A HREF="#porting_notes">Porting Notes</
A> ]
2ronwalf This version of Apache includes changes allowing it to run on
2ronwalf (Transaction Processing Facility) operating system.
2ronwalf Unless otherwise noted TPF version 4.1 PUT09 is required.
for step-by-step installation instructions.
As this is the first cut at making Apache run on TPF,
performance tuning has not been done.
This port builds upon the <
A HREF="ebcdic.html">EBCDIC changes</
A>
previously made to Apache.
<
A NAME="configuration_files"> </
A>
<
H2 align=center>Apache Configuration Files</
H2>
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.
<
A NAME="whats_available"> </
A>
<
H2 align=center>What's Available in this Version</
H2>
(The Apache organization provides
describing the various modules and components of the server.)
<
LI>
htpasswd.c <
i><
small>(requires PUT10)</
small></
i>
<
LI>
mod_access.c <
A HREF="#notes"> <
i><
small>(see note 1)</
small></
i></
A>
<
LI>
mod_cgi.c <
i><
small>(requires PUT10)</
small></
i>
<
LI>
mod_include.c <
A HREF="#notes"> <
i><
small>(see note 2)</
small></
i></
A>
<
i> <
small>(third party module)</
small></
i>
<
LI>regular expression parser
<
LI>regular expression test tool <
i><
small>(requires PUT10)</
small></
i>
<
A NAME="notes"></
A><
b>Notes:</
b>
<
li>Use of mod_access directives "<
tt>Allow from</
tt>" & "<
tt>Deny from</
tt>"
with host <
i>names</
i> (verses ip addresses) requires TPF version 4.1 PUT10
<
li>CGI execution requires TPF version 4.1 PUT10
<
H3>
Components/
modules that don't apply or that probably won't ever be available on TPF:</
H3>
<
A NAME="porting_notes"> </
A>
<
H2 align=center>Porting Notes</
H2>
<
H3>Changes made due to differences between UNIX and
TPF's process models:</
H3>
<
LI><
STRONG>Signals</
STRONG>: On TPF a signal that is sent to a process
remains unhandled until the process explicitly requests that signals
be handled using the <
CODE>tpf_process_signals()</
CODE> 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 <
CODE>exit()</
CODE> with no dump taken.)
These differences necessitated a few modifications:
<
LI>bypass the use of <
CODE>ap_block_alarms()</
CODE> &
<
CODE>ap_unblock_alarms()</
CODE>
<
LI>add <
CODE>tpf_process_signals()</
CODE> calls
<
LI>add <
CODE>select()</
CODE> calls to prevent blocking.
<
H3>Find that function...</
H3>
<
P>Some simple functions & definitions initially needed to be added
on TPF, such as <
CODE>FD_SET()</
CODE>.
<
P>TPF-specific conversion tables between US-ASCII and
EBCDIC (character set IBM-1047 to be exact) were created
<
H3>Miscellaneous, minor changes:</
H3>
<
P>Various minor changes (such as casting) were made due to
differences in how some functions are implemented on TPF.
<
CENTER>[ <
A HREF="#top">top</
A>
| <
A HREF="#configuration_files">Configuration Files</
A>
| <
A HREF="#whats_available">What's Available</
A>
| <
A HREF="#porting_notes">Porting Notes</
A> ]