Communicator e3000 MPE/iX Release 6.5 (Non-Platform Software Release C.65.00 (30216-90291)
Chapter 5 141
Internet and Interoperability
Apache for MPE/iX 6.5
shell>/APACHE/PUB/HTTPD -t
Configuration Recommendation
We strongly recommend setting KeepAlive to off in http.conf. With KeepAlive on, sockets
may eventually be used up. When this happens, Apache will appear to be hung and will
need to be restarted.
Edit the JHTTPD Job Stream File
The JHTTPD Job Stream File is used to run the HTTPD web server program in
standalone mode with your local timezone:
!job jhttpd,www.apache,pub;outclass=,2
!setvar TZ ‘PST8PDT’
!run HTTPD;info=’-f /APACHE/PUB/conf/httpd.conf’
!eoj
The timezone variable, TZ, should be set to your local timezone (for example, EST5EDT for
Eastern Daylight Time, PST8PDT for Pacific Daylight Time, and MST7MDT for Mountain
Daylight Time). For more information about setting the timezone value, enter “man
timezone” in the POSIX shell to read the POSIX help file.
To preserve the access permissions (ACD) on the JHTTPD file, you can edit the file using
the secure feature of EDITOR:
:EDITOR
/t JHTTPD
/m ...
/set secure
/k
JHTTPD,UNN
JHTTPD ALREADY EXISTS - RESPOND YES TO PURGE OLD AND KEEP NEW
PURGE OLD?yes
/e
Start the HTTPD Web Server Program
The HTTPD web server program is started using the JHTTPD job file. Apache can be
started from either the CI or the POSIX shell:
:STREAM JHTTPD.PUB.APACHE
or
:xeq sh.hpbin.sys -L
shell>callci “stream jhttpd.pub.apache”