Configuring and Managing MPE/iX Internet Services (MPE/iX 6.5)

152 Chapter9
Apache for MPE/iX
Major Components
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
The JHTTPD file does not come with a password. If desired, the
JOBSECURITY command can be used to provide password protection
without adding your password to the file.
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”