Communicator e3000 MPE/iX Release 7.0 Express 1 (Software Release C.70.01) (30216-90328)

58 Chapter3
New Networking
Apache 1.3.14 for MPE/iX
shell/iX> cp magic.sample magic
shell/iX> cp access.conf.sample access.conf (optional)
shell/iX> cp srm.conf.sample srm.conf (optional)
The access.conf.sample file and the srm.conf.sample file need not be copied. These files
were used in earlier versions of Apache but their content is now included in the httpd.conf
file. However, if these files exist, Apache will read and process them after processing the
conf/httpd.conf file.
httpd.conf
Edit the httpd.conf file with your own server name. You may also wish to change other
default values. For information about configuration directives, visit the online Apache
documentation at http://www.apache.org/docs. Httpd.conf is a bytestream file that can be
edited on the e3000 using "vi" or modified from a PC if Samba is installed on the server.
Modify the following httpd.conf directives by replacing "yourserver.com" with your own
server name:
ServerAdmin MGR.APACHE@yourserver.com
ServerName yourserver.com
JHTTPD Job Stream File
JHTTPD.sample is provided as an Apache start-up job. Copy the sample file from
/APACHE/A0200 to /APACHE/PUB using the copy command below then change the
timezone variable, TZ, to the local timezone if necessary. JHTTPD is a bytestream file
unlike previous versions that were in MPE file format. Note that the file mask is set to
007. This means that any files created by Apache will have no permissions for "other."
This feature tightens security so Apache-created files are accessible only within the
APACHE account.
shell/iX> cd /APACHE/PUB
shell/iX> cp JHTTPD.sample JHTTPD
shell/iX> cat JHTTPD
!job jhttpd,www.apache,pub;outclass=,2
!setvar TZ 'PST8PDT
!xeq sh.hpbin.sys "-c 'umask 007;./HTTPD -f conf/httpd.conf'"
!eoj
Version Identification
Apache 1.3.14 for MPE/iX has the product number A.02.00. This is viewable by running
the Apache binary with the "-v" option.
shell/iX> /APACHE/PUB/HTTPD -v
Server version: Apache/1.3.14 (HP MPE/iX A.02.00)
Server built: Apr 2 2001 11:58:16