summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/htdocs/manual/install-tpf.html
blob: a5ab5197c50eb79ffe22dbffd91ea5c192dcff59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta name="generator" content="HTML Tidy, see www.w3.org" />

    <title>Installing Apache on TPF</title>
  </head>

  <body>
    <center>
      <h1><a id="top" name="top"></a>Installing the Apache 1.3 HTTP
      Server on TPF</h1>
    </center>
    <hr />

    <center>
      [ <a href="#download">Download</a>&nbsp; | <a
      href="#compilation">Compilation</a>&nbsp; | <a
      href="#installation">Installation</a>&nbsp; | <a
      href="#visualage">VisualAge</a> ]
    </center>
    <hr />

    <p>This document outlines the steps needed to install Apache
    onto a TPF system.</p>

    <p>You should first read <a
    href="readme-tpf.html">readme-tpf.html</a> for basic
    information on the port of Apache to TPF including required PUT
    level and supported modules.<br />
     &nbsp;<br />
     &nbsp;<br />
    </p>

    <center>
      <h2><a id="download" name="download"></a>Download</h2>
    </center>
    Releases of the Apache server are compressed into a "tarball"
    file which must be downloaded to your PC. Additionally the
    source code from the tarball will need to be copied onto an
    OS/390 UNIX System Services machine (later referred to simply
    as "OS/390 UNIX") for compiling. Here are all the details on
    how to get Apache and how to get it where it needs to be: 

    <ol>
      <li>Download the compressed Apache files (the "tarball") to
      your PC. The file name on the web site will be something like
      <tt>apache_1.3.<i>xx</i>.tar.Z</tt>.<br />
       <font color="#FF0000"><font size="+1">TIP:</font></font> Be
      sure to keep the <tt>.tar.Z</tt> extension when choosing the
      name of the PC file.&nbsp;<br />
       &nbsp;</li>

      <li>
        Decompress the tarball on your PC using WinZip or some
        other PC decompression tool.<br />
         <font color="#FF0000"><font size="+1">TIP:</font></font>
        If you are using WinZip verify that the <i>"TAR File Smart
        CR/LF Conversion"</i> option (under Options, Configuration)
        is NOT checked.<br />
         This is what you can expect if you use WinZip:&nbsp; 

        <ul>
          <li>open the tarball with WinZip (this can usually be
          done simply by double-clicking on the downloaded
          tarball)&nbsp;</li>

          <li>you will be told that the archive contains one file
          (such as apache_1.3.<i>xx</i>.tar) - allow WinZip to
          decompress it to a temporary folder&nbsp;</li>

          <li>extract the archived files onto your PC - you'll be
          using files from the&nbsp; <tt>conf, htdocs,</tt> and
          <tt>icons</tt> directories later in the install
          phase&nbsp;<br />
          <br />
          </li>
        </ul>
      </li>

      <li>FTP the tarball to your OS/390 UNIX machine using binary
      mode:&nbsp;</li>

      <li style="list-style: none">
        <ul>
          <li>activate FTP in an MSDOS window:
          <b><tt>ftp&nbsp;<i>your.os390.unix.machine.com</i></tt></b>&nbsp;</li>

          <li>sign in&nbsp;</li>

          <li>set mode to binary: <b><tt>binary</tt></b>&nbsp;</li>

          <li>send the file to OS/390 UNIX:<br />
           <b><tt>&nbsp;&nbsp;&nbsp;send&nbsp;<i>c:\downloaded_filename</i>.tar.Z&nbsp;
          <i>os390_unix_filename</i>.tar.Z</tt></b></li>

          <li>exit FTP: <b><tt>bye</tt></b>&nbsp;</li>
        </ul>

        <p><font color="#FF0000"><font size="+1">TIP:</font></font>
        UNIX file names are case sensitive. If you use an NFS
        client to transfer files from your PC to OS/390 UNIX
        (instead of using FTP as described above) verify that the
        NFS drive will transfer the file names with upper/lower
        case preserved. &nbsp;</p>
      </li>

      <li>Decompress and extract the archived files necessary for compiling
      Apache:
      <b><tt>pax&nbsp;-rvzkf&nbsp;<i>os390_unix_filename</i>.tar.Z&nbsp;-o&nbsp;from=ISO8859-1,to=IBM-1047&nbsp;"*/src"</tt></b><br />
       &nbsp;</li>

      <li>
        Remove unnecessary subdirectories: 

        <ul>
          <li>
          <b><tt>cd&nbsp;apache_1.3.<em>xx</em>/src/os</tt></b></li>

          <li>
          <b><tt>rm&nbsp;-r&nbsp;bs2000&nbsp;cygwin&nbsp;mpeix&nbsp;netware&nbsp;os2&nbsp;os390&nbsp;win32</tt></b></li>

          <li style="list-style: none"><b><tt><br />
          </tt></b></li>
        </ul>
        &nbsp;
      </li>
    </ol>

    <center>
      <h2><a id="compilation"
      name="compilation"></a>Compilation</h2>
    </center>
    Apache supports the notion of "optional modules". However, the
    server has to know which modules are compiled into it. In order
    for those modules to be effective, it is necessary to generate
    a short bit of code (modules.c) which simply has a list of
    them. If you are using the <tt>Configure</tt> utility and
    <tt>make</tt>, modules.c and other necessary files will be
    created for you automatically. 

    <p>The provided instructions assume a c89 compiler and have
    been tested on an OS/390 UNIX machine running at version 2.6
    that contained both OS/390 UNIX and TPF C header files. If you
    are using a platform other that OS/390 UNIX you may need to
    modify src/os/tpf/TPFExport and src/Configure to match your
    environment.<br />
    <br />
     <font color="#FF0000"><font size="+1">TIP:</font></font>
    Editing files on your PC prior to moving them to OS/390 UNIX
    may result in the loss/addition of unprintable characters.
    Files of concern include shell scripts and src/Configuration.
    The most common problems are with tab characters and CR/LF
    characters. Most editors will handle the CR/LF problem
    correctly but none seem to handle tab characters. If you need
    to edit files prior to moving them to OS/390 UNIX, edit them in
    a UNIX editor such as vi or emacs.</p>

    <p>Note that OS/390 UNIX commands in this section are shown in
    <b><tt>bold</tt></b>, are case sensitive, and must be made from
    the "src" directory.</p>

    <ol>
      <li>Switch to the source code subdirectory:
      <b><tt>cd&nbsp;apache_1.3.<em>xx</em>/src</tt></b><br />
       &nbsp;</li>

      <li>Overlay src/Configuration with src/Configuration.tmpl:
      <b><tt>cp&nbsp;Configuration.tmpl&nbsp;Configuration</tt></b><br />
       &nbsp;</li>

      <li>Edit src/Configuration. It contains the list and settings
      of various "Rules" and an additional section at the bottom
      that determines which modules to compile:<br />
       &nbsp;</li>

      <li style="list-style: none">
        <ul>
          <li>Adjust the Rules and
          <tt>EXTRA_CFLAGS|LIBS|LDFLAGS|INCLUDES</tt> if you feel
          so inclined.<br />
           &nbsp;</li>

          <li>Comment out (by preceding the line with a "#") lines
          corresponding to those modules you DO NOT wish to
          include.<br />
           &nbsp;</li>

          <li>Uncomment (by removing the initial "#", if present)
          lines corresponding to those modules you wish to include
          or add new lines corresponding to any custom modules you
          have written. The <a
          href="readme-tpf.html">readme-tpf.html</a> document lists
          the modules that have been tested on TPF.&nbsp;</li>
        </ul>

        <p>The modules placed in the Apache distribution are the
        ones that have been tested and are used regularly by
        various members of the Apache development group. Additional
        modules contributed by members or third parties with
        specific needs or functions are available at <a
        href="http://modules.apache.org/">http://modules.apache.org/</a>.
        There are instructions on that page for linking these
        modules into the core Apache code.&nbsp;</p>
      </li>

      <li>
        Indicate whether the <tt>non_socket_select</tt> function is
        implemented on your system. 

        <p>If you are on a PUT12 or higher system, or have PJ26895
        installed, then you probably support
        <tt>non_socket_select</tt>.<br />
         You can verify this by looking for the
        <tt>non_socket_select</tt> prototype in your system header
        files (specifically <tt>i$pwbl.h</tt>).</p>

        <p>If your TPF system supports <tt>non_socket_select</tt>
        do <em>one</em> of the following:<br />
        </p>

        <ul>
          <li>add "<tt>#define&nbsp;TPF_HAVE_NONSOCKET_SELECT</tt>"
          to
          <tt>src/os/tpf/os.h</tt>&nbsp;&nbsp;&nbsp;<em>or</em></li>

          <li>add "<tt>-DTPF_HAVE_NONSOCKET_SELECT</tt>" to the
          <tt>_C89_OPTIONS</tt> export in src/os/tpf/TPFExport</li>
        </ul>
        <br />
        <br />
         

        <p>Otherwise:<br />
        </p>

        <ul>
          <li>add "<tt>#define&nbsp;TPF_NO_NONSOCKET_SELECT</tt>"
          to
          <tt>src/os/tpf/os.h</tt>&nbsp;&nbsp;&nbsp;<em>or</em></li>

          <li>add "<tt>-DTPF_NO_NONSOCKET_SELECT</tt>" to the
          <tt>_C89_OPTIONS</tt> export in src/os/tpf/TPFExport</li>
        </ul>
        <br />
        <br />
         

        <p>Without <tt>non_socket_select</tt> CGI output is
        buffered and only sent to the browser when the CGI program
        finishes.</p>
      </li>

      <li>
        Indicate whether the <tt>tpf_sawnc</tt> function is
        implemented on your system. 

        <p>If you are on a PUT10 or higher system, or have
        PJ27387/PJ26188 installed, then you probably support
        <tt>tpf_sawnc</tt>.<br />
         You can verify this by looking for the <tt>tpf_sawnc</tt>
        prototype in your system header files (either
        <tt>tpfapi.h</tt> or <tt>i$fsdd.h</tt>).</p>

        <p>If your TPF system supports <tt>tpf_sawnc</tt> do
        <em>one</em> of the following:<br />
        </p>

        <ul>
          <li>add "<tt>#define&nbsp;TPF_HAVE_SAWNC</tt>" to
          <tt>src/os/tpf/os.h</tt>&nbsp;&nbsp;&nbsp;<em>or</em></li>

          <li>add "<tt>-DTPF_HAVE_SAWNC</tt>" to the
          <tt>_C89_OPTIONS</tt> export in src/os/tpf/TPFExport</li>
        </ul>
        <br />
        <br />
         

        <p>Otherwise:<br />
        </p>

        <ul>
          <li>add "<tt>#define&nbsp;TPF_NO_SAWNC</tt>" to
          <tt>src/os/tpf/os.h</tt>&nbsp;&nbsp;&nbsp;<em>or</em></li>

          <li>add "<tt>-DTPF_NO_SAWNC</tt>" to the
          <tt>_C89_OPTIONS</tt> export in src/os/tpf/TPFExport</li>
        </ul>
        <br />
        <br />
         

        <p>The use of <tt>tpf_sawnc</tt> allows for a cleaner
        shutdown of Apache.</p>
      </li>

      <li style="list-style: none"><a id="export"
      name="export"></a></li>

      <li>Set the TPF environment variables:
      <b><tt>.&nbsp;os/tpf/TPFExport</tt></b>&nbsp;<br />
      <br />
       <font color="#FF0000"><font size="+1">TIP:</font></font> The
      initial period and blank on the command are required to
      ensure the environment variables exist beyond the scope of
      the shell script.<br />
      <br />
       This script will set the environment variables required to
      compile the programs for TPF. Verify that the export
      variables are valid for your installation, in particular, the
      system include file directories. The system include files
      must reside on your OS/390 UNIX system in the appropriate
      file structure similar to /usr/include and /usr/include/sys.
      DO NOT modify the <tt>TPF=YES</tt> export variable. If this
      is changed, the "Configure" script will not recognize
      TPF.&nbsp;<br />
       &nbsp;</li>

      <li>
        Run the "Configure" script:
        <b><tt>Configure</tt></b>&nbsp;<br />
         

        <p>This generates modules.c, include/ap_config_auto.h, and
        necessary Makefiles:</p>
<pre>
      Using config file: Configuration
      Creating Makefile
       + configured for TPF platform
       + setting C compiler to c89
       + setting C pre-processor to c89 -E
       + checking for system header files
       + adding selected modules
       + checking sizeof various data types
      Creating Makefile in support
      Creating Makefile in regex
      Creating Makefile in os/tpf
      Creating Makefile in ap
      Creating Makefile in main
      Creating Makefile in lib/expat-lite
      Creating Makefile in modules/standard
      $ _

</pre>
        If you want to maintain multiple configurations, you can
        say, <i>for example</i>,&nbsp;<br />
         <b><tt>Configure&nbsp;-file&nbsp;Configuration.2nd</tt></b>
        
<pre>
      Using config file: Configuration.2nd
      Creating Makefile
       + configured for &lt;whatever&gt; platform
       + setting C compiler to &lt;whatever&gt;
      et cetera
</pre>
        If you receive an error such as "<tt>Configure 146:
        FSUM7351 not found</tt>" the most likely explanation is
        that one or more of the <tt>make</tt> related files were
        edited on a non-UNIX platform, corrupting the end-of-line
        marks. Verify that lines ending with "\" in the flagged
        file do not have trailing spaces. Using the vi editor and
        the sample error above as an example...&nbsp; &nbsp; 
<pre>
     pull up the flagged file:       <b>vi Configure
</b>     turn on punctuation:            <b>:set list
</b>     go to the line in question:     <b>146G
</b>        or find a line with a "\":   <b>/\\</b>
</pre>

        <div style="margin-left: 2em">
          The end of line should display as "<tt>\$</tt>". If it is
          displayed as "<tt>\&nbsp;$</tt>" (with a blank between \
          and $) then you should revert to the distributed version
          of the file and make the site-specific changes again
          using a UNIX compatible editor such as vi or emacs. Then
          try the Configure command again.&nbsp;
        </div>
<pre>
     close the file:                 <b>:q</b>  (or <b>:quit!</b>)
</pre>
      </li>

      <li>
        Edit include/ap_config.h if you do <em>not</em> want the
        scoreboard kept in shared memory.<br />
         

        <p>The default behavior for Apache on all platforms
        <em>except</em> TPF is to use the file system for
        maintaining the scoreboard (which holds current Apache
        children status). The default behavior for Apache on TPF is
        to use shared memory. This reduces file activity for the
        parent Apache ECB and improves performance. If you are on a
        pre-PUT10 system you must change ap_config.h to use either
        system heap or the file system.</p>
        To use system heap for the scoreboard replace
        <tt>#define&nbsp;USE_SHMGET_SCOREBOARD</tt> with
        <tt>#define&nbsp;USE_TPF_SCOREBOARD</tt> in the TPF section
        of ap_config.h.<br />
        <br />
         If you prefer instead to use the file system, remove both
        <tt>#define&nbsp;USE_SHMGET_SCOREBOARD</tt> and
        <tt>#define&nbsp;USE_TPF_SCOREBOARD</tt> from the TPF
        section of ap_config.h<br />
        <br />
         The change will only take effect after Apache is
        (re)compiled.<br />
         &nbsp;
      </li>

      <li>
        Now compile the programs: <b><tt>make</tt></b><br />
         

        <p>Besides compiling, <tt>make</tt> also runs
        src/main/gen_test_char.c and src/main/gen_uri_delims.c in
        order to create src/main/test_char.h and
        src/main/uri_delims.h respectively</p>

        <ul>
          <li>
            The following compilation warning is expected and can
            be ignored:<br />
            <br />
             

            <div style="margin-left: 2em">
              util_uri.c:&nbsp;&nbsp;&nbsp;<tt>Function argument
              assignment between types "unsigned char*" and "const
              unsigned char*" is not allowed.</tt>
            </div>
            <br />
          </li>

          <li>If during compilation you get a warning about a
          missing 'regex.h', set <tt>WANTHSREGEX=yes</tt> in the
          src/Configuration file and start back at the <a
          href="#configure"><tt><b>Configure</b></tt></a>
          step.<br />
           &nbsp;</li>

          <li>If you get a
          '<tt>Duplicate&nbsp;type&nbsp;specifier&nbsp;"long"&nbsp;ignored</tt>'
          error, add "<tt>-W&nbsp;0,langlvl(extended)</tt>" to the
          <tt>_C89_OPTIONS</tt> export in src/os/tpf/TPFExport and
          start back at the <a
          href="#export"><tt><b>export</b></tt></a> step</li>
        </ul>
      </li>
    </ol>
    <a id="installation" name="installation"></a> 

    <center>
      <h2>Installation</h2>
    </center>

    <ol>
      <li>
        Link the compiled object files into a DLL. Sample link JCL
        has been included as src/os/tpf/samples/linkhttp.jcl. You
        will need to modify this JCL:<br />
         &nbsp; 

        <ul>
          <li>Change the IDs, data set names, and libraries for
          your particular site.&nbsp;</li>

          <li>Add/remove <tt>mod_<i>xxx</i>.o</tt> files so they
          correspond to the <tt>mod_<i>xxx</i>.o</tt> lines in your
          src/Configuration file.&nbsp;</li>
        </ul>
        <br />
         <font color="#FF0000"><font size="+1">TIP:</font></font>
        Do NOT include gen_test_char.o or gen_uri_delims.o in the
        link JCL since these files are only used during the
        <tt>make</tt> step.&nbsp;<br />
         &nbsp;
      </li>

      <li>Create a loadset. Sample loadset JCL has been included as
      src/os/tpf/samples/loadset.jcl. You will need to modify this
      JCL for your particular site.<br />
      <br />
       A JCL condition code of 4 is expected since the C load
      module will contain no link map data.<br />
       &nbsp;</li>

      <li>Load (<tt>ZOLDR LOAD</tt>) and activate (<tt>ZOLDR
      ACT</tt>) the loadset on your test system.<br />
       &nbsp;</li>

      <li>Ensure that the program name you are using for Apache has
      <tt>RESTRICT</tt> and <tt>KEY0</tt> authorization.
      <b><tt>zdpat&nbsp;<i>chta</i>&nbsp;</tt> &nbsp;(</b>c-c) will
      display allocation information. You can use
      <b><tt>zapat&nbsp;<i>chta</i>&nbsp;restrict&nbsp;key0&nbsp;</tt></b>
      &nbsp;<tt>(<b>c-c</b>)</tt> to alter the authorization. Note
      that if the program name is unallocated, you must have the
      loadset for it activated or you will receive <tt>INVALID
      PROGRAM NAME</tt> from the <tt>zdpat/zapat</tt>
      entries.<br />
       &nbsp;</li>

      <li>
        Create the Apache run-time configuration file. The server
        requires a configuration file to initialize itself during
        activation. (Previously three configuration files were
        used.) Copy the distribution version,
        /conf/httpd.conf-dist, to /conf/httpd.conf and then edit
        the /conf/httpd.conf copy with your site specific
        information.&nbsp; 

        <p>At a minimum you must change every occurrence of
        "<tt>@@ServerRoot@@</tt>" to your document server root (for
        example "<tt>/usr/local/apache</tt>")</p>
      </li>

      <li style="list-style: none">
        <p>General documentation for Apache is located at <a
        href="http://httpd.apache.org/docs/">http://httpd.apache.org/docs/</a>
        and in the HTML pages included with the distribution
        (tarball) under the /htdocs/manual directory.&nbsp;
        &nbsp;</p>
      </li>

      <li>
        On TPF activate ZCLAW 

        <p>Refer to the TCP/IP Offload Support section of the
        <em>TPF TCP/IP</em> publication for more information: <a
        href="http://www.ibm.com/tpf/pubs/tpfpubs.htm">http://www.ibm.com/tpf/pubs/tpfpubs.htm</a>.</p>

        <p>Note: Apache does not currently work with Native
        Stack.</p>
      </li>

      <li>
        Using either TFTP or FTP, transfer the configuration file,
        icons, and web pages to your TPF system. A typical
        directory structure for Apache is as follows:<br />
<pre>
<tt> /usr/local/apache/conf
     /usr/local/apache/logs
     /usr/local/apache/icons
     /usr/local/apache/htdocs
</tt>
</pre>
        All gif, jpg, and zip files should be transferred as
        binary; the configuration file and html pages should be
        transferred as text.&nbsp;<br />
        <br />
         The logs directory must exist in order to avoid an
        <tt>fopen</tt> error while running Apache:<br />
        <br />
         

        <div style="margin-left: 2em">
          If you're running a PUT10 or higher version of TPF make
          the directory using the <b><tt>zfile
          mkdir&nbsp;/usr/local/apache/logs</tt></b> command.<br />
          <br />
           If you're running TPF version PUT09 TFTP an empty file
          into the logs subdirectory to create it.&nbsp;<br />
          <br />
        </div>
        Make sure Apache can write into the logs subdirectory by
        doing a <tt>zfile&nbsp;chmod</tt> on it with the
        appropriate permission settings. 

        <p>Refer to the TFTP and FTP sections of the <em>TPF
        TCP/IP</em> publication for more information: <a
        href="http://www.ibm.com/tpf/pubs/tpfpubs.htm">http://www.ibm.com/tpf/pubs/tpfpubs.htm</a>.</p>
      </li>

      <li>
        On TPF add Apache to the Internet Daemon's tables using
        ZINET entries, the common case:<br />
        <br />
         

        <ul>
          <li>For PUT11 and later use the DAEMON model for
          Apache:<tt><b>ZINET&nbsp;ADD&nbsp;S-APACHE&nbsp;PGM-<em>chta</em>&nbsp;MODEL-DAEMON&nbsp;USER-root</b></tt></li>

          <li>On pre-PUT11 systems use the NOLISTEN model
          instead:<tt><b>ZINET&nbsp;ADD&nbsp;S-APACHE&nbsp;PGM-<em>chta</em>&nbsp;MODEL-NOLISTEN</b></tt></li>
        </ul>
        <br />
         <font color="red" size="4">TIP:</font> Logic changes
        implemented with PUT11 cause ZINET to <i>not</i> restart
        NOLISTEN servers after <tt>ZOLDR&nbsp;ACT</tt> and
        <tt>ZOLDR&nbsp;DEACT</tt> entries. This means that Apache
        running as NOLISTEN on a PUT11 or later system will exit
        whenever any <tt>ZOLDR&nbsp;ACT</tt> or
        <tt>ZOLDR&nbsp;DEACT</tt> entry is made. Therefore at PUT11
        you should switch to the DAEMON model and ensure that you
        have APARs PJ25761 and PJ27363 applied.<br />
        <br />
         Refer to the Internet Daemon section of the <em>TPF
        TCP/IP</em> publication for more information: <a
        href="http://www.ibm.com/tpf/pubs/tpfpubs.htm">http://www.ibm.com/tpf/pubs/tpfpubs.htm</a>.<br />
        <br />
      </li>

      <li>Start the server using the
      <b><tt>ZINET&nbsp;START&nbsp;S-APACHE</tt></b> command.<br />
      <br />
      </li>

      <li>Request a page from your browser:
      <tt><b>http://<i>xx.xx.xx.xx</i></b></tt>
      &nbsp;&nbsp;&nbsp;(where <i>xx.xx.xx.xx</i> is your IP
      address)</li>
    </ol>
    <a id="visualage" name="visualage"></a> 

    <center>
      <h2>Compiling with VisualAge TPF</h2>
    </center>
    It is not required that <tt>make</tt> be used to compile Apache
    for TPF: Individual programs may be compiled using IBM's
    VisualAge TPF product. This is particularly useful when
    compiling selected programs for the Debug Tool.&nbsp; 

    <p>The following VisualAge compile settings are required:</p>

    <ul>
      <li><i>"DEFINE - Define preprocessor macro name(s)"</i> must
      include <b><tt>TPF, CHARSET_EBCDIC, _POSIX_SOURCE,</tt></b>
      and <b><tt>USE_HSREGEX</tt></b><br />
       &nbsp;</li>

      <li><i>"LSEARCH - Path for user include files"</i> must
      include <b><tt>../src/include</tt></b> and
      <b><tt>../src/os/tpf</tt></b><br />
       &nbsp;</li>

      <li><i>"DLL - Generate DLL code"</i> must be checked<br />
       &nbsp;</li>

      <li><i>"LONGNAME - Support long names"</i> must be
      checked<br />
       &nbsp;</li>
    </ul>
    <hr />

    <center>
      [ <a href="#top">top</a>&nbsp; | <a
      href="#download">Download</a>&nbsp; | <a
      href="#compilation">Compilation</a>&nbsp; | <a
      href="#installation">Installation</a>&nbsp; | <a
      href="#visualage">VisualAge</a> ]
    </center>
  </body>
</html>