blob: a9267dfb38725e599b28715622768499186bc340 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>The Apache TPF Port</TITLE>
</HEAD>
<BODY>
<A NAME="top"></A>
<H1 align="center">Overview of the Apache TPF Port</H1>
<HR>
<CENTER>[&nbsp;<A HREF="#configuration_files">Configuration Files</A>
&nbsp;|&nbsp;<A HREF="#whats_available">What's Available</A>
&nbsp;|&nbsp;<A HREF="#porting_notes">Porting Notes</A>&nbsp;]
</CENTER>
<HR>
<BR>
<P>
This version of Apache includes changes allowing it to run on
IBM's EBCDIC-based
<A HREF="http://www.s390.ibm.com/products/tpf/tpfhp.html">TPF</A>
(Transaction Processing Facility) operating system.
Unless otherwise noted TPF version 4.1 PUT08 and APAR PJ25589 are required.
<BR><BR>
Refer to htdocs/manual/<A HREF="install-tpf.html">install-tpf.html</A>
for step-by-step installation instructions.
<BR><BR>
As this is the first cut at making Apache run on TPF,
performance tuning has not been done.
<BR><BR>
This port builds upon the <A HREF="ebcdic.html">EBCDIC changes</A>
previously made to Apache.
<BR>
</P>
<A NAME="configuration_files">&nbsp;</A>
<H2 align=center>Apache Configuration Files</H2>
<P>
The distributed configuration files (httpd.conf-dist and
mime.types, both located in the conf subdirectory)
work on TPF with only a couple of operating system specific changes
to httpd.conf:<BR>
<UL>
<LI>ServerType needs to be "inetd" on pre-PUT09 systems.
<LI>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.
</UL>
</P>
<A NAME="whats_available">&nbsp;</A>
<H2 align=center>What's Available in this Version</H2>
(The Apache organization provides
<A HREF="http://www.apache.org/docs/">online documentation</A>
describing the various modules and components of the server.)
<H3>Components/modules tested on TPF:</H3>
<multicol COLS=3><UL>
<LI>alloc.c
<LI>ap_cpystrn.c
<LI>ap_fnmatch.c
<LI>ap_signal.c
<LI>ap_slack.c
<LI>ap_snprintf.c
<LI>buff.c
<LI>buildmark.c
<LI>ebcdic.c
<LI>gen_test.char.c
<LI>gen_uri_delims.c
<LI>http_config.c
<LI>http_core.c
<LI>http_log.c
<LI>http_main.c <A HREF="#note_1"> <i><small>(see note 1)</small></i></A>
<LI>http_protocol.c
<LI>http_request.c
<LI>http_vhost.c <i><small>(requires PUT9)</small></i>
<LI>logresolve.c <i><small>(requires PUT10)</small></i>
<LI>mod_access.c <A HREF="#note_2"> <i><small>(see note 2)</small></i></A>
<LI>mod_actions.c
<LI>mod_alias.c
<LI>mod_asis.c
<LI>mod_auth_anon.c
<LI>mod_autoindex.c
<LI>mod_cern_meta.c
<LI>mod_cgi.c <i><small>(requires PUT10)</small></i>
<LI>mod_dir.c
<LI>mod_env.c
<LI>mod_example.c
<LI>mod_expires.c
<LI>mod_headers.c
<LI>mod_imap.c
<LI>mod_include.c <A HREF="#note_3"> <i><small>(see note 3)</small></i></A>
<LI>mod_info.c
<LI>mod_log_agent.c
<LI>mod_log_config.c
<LI>mod_log_referer.c
<LI>mod_mime.c
<LI>mod_mime_magic.c
<LI>mod_negotiation.c
<LI><A HREF="http://hpwww.ec-lyon.fr/~vincent/apache/mod_put.html">mod_put.c</A>
<LI>mod_setenvif.c
<LI>mod_speling.c
<LI>mod_status.c
<LI>mod_unique_id.c <i><small>(requires PUT10)</small></i>
<LI>mod_userdir.c
<LI>mod_usertrack.c
<LI>os.c
<LI>os-inline.c
<LI>regular expression parser
<LI>rotatelogs.c <i><small>(requires PUT10)</small></i>
<LI>util.c
<LI>util_date.c
<LI>util_script.c
<LI>util_uri.c
</UL></MULTICOL>
<br><b>Notes:</b>
<A NAME="note_1">&nbsp;</A>
<ol>
<li>"Standalone" mode requires TPF version 4.1 PUT09
<A NAME="note_2">&nbsp;</A>
<li>Use of mod_access directives &quot;<tt>allow from</tt>&quot; &amp; &quot;<tt>deny from</tt>&quot;
with host <i>names</i> (verses ip addresses) requires TPF version 4.1 PUT10
<A NAME="note_3">&nbsp;</A>
<li>CGI execution requires TPF version 4.1 PUT10
</ol>
<H3>Components/modules not yet supported on TPF:</H3>
<multicol COLS=3><UL>
<LI>ap_md5c.c
<LI>htpasswd.c
<LI>mod_auth.c
<LI>mod_digest.c
<LI>mod_mmap_static.c
<LI>mod_proxy.c
<LI>mod_rewrite.c
<LI>proxy_cache.c
<LI>proxy_connect.c
<LI>proxy_ftp.c
<LI>proxy_http.c
<LI>proxy_util.c
<LI>rfc1413.c
<LI>util_md5.c
</UL></MULTICOL>
<H3>Components/modules that don't apply or that probably won't ever be available on TPF:</H3>
<multicol COLS=3><UL>
<LI>mod_auth_db.c
<LI>mod_auth_dbm.c
<LI>mod_auth_db.module
<LI>mod_so.c
<LI>suexec.c
</UL></MULTICOL>
<A NAME="porting_notes">&nbsp;</A>
<H2 align=center>Porting Notes</H2>
<P>
<H3>Changes made due to differences between UNIX and
TPF's process models:</H3>
<UL>
<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:
<BR><BR>
<UL>
<LI>bypass the use of <CODE>ap_block_alarms()</CODE> &amp;
<CODE>ap_unblock_alarms()</CODE>
<LI>add <CODE>tpf_process_signals()</CODE> calls
<LI>add <CODE>select()</CODE> calls in buff.c to prevent blocking.
</UL>
<BR>
</UL>
<H3>Find that function...</H3>
<P>Some simple functions &amp; definitions needed to be added
on TPF, such as <CODE>FD_SET()</CODE>.
We've put these in src/os/tpf/os.h for now.
</P>
<H3>EBCDIC changes:</H3>
<P>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.
</P>
<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.
</P>
<HR>
<CENTER>[&nbsp;<A HREF="#top">top</A>
&nbsp;|&nbsp;<A HREF="#configuration_files">Configuration Files</A>
&nbsp;|&nbsp;<A HREF="#whats_available">What's Available</A>
&nbsp;|&nbsp;<A HREF="#porting_notes">Porting Notes</A>&nbsp;]
</CENTER>
</BODY>
</HTML>