Configuring and Managing MPE/iX Internet Services (July 2001)

170 Chapter9
Apache for MPE/iX
Major Components
After the HTTPD program is running, verify that files in the directory
tree are accessible:
Server home page, http://yourserver.com. This brings up the
default Apache home page /APACHE/PUB/htdocs/index.html.
MGR.APACHE home page,
http://yourserver.com/~MGR.APACHE. This brings up the page
/APACHE/PUB/public_html/index.html. To createanew default
page for MGR.APACHE, copy the sample file and edit it:
shell/iX> cd /APACHE/PUB/public_html
shell/iX> cp /APACHE/VUUFF/public_html/index.html.sample index.html
The Apache online documentation manual:
http://yourserver.com/manual
The cgi test script, test-cgi. This script first needs to have execute
permission before it can run:
shell/iX>cd /APACHE/PUB/cgi-bin
shell/iX>cp /APACHE/VUUFF/cgi-bin/test-cgi test-cgi
shell/iX>chmod +x test-cgi
Execute the script:
http://yourserver.com/cgi-bin/test-cgi
Troubleshooting Apache Setup Problems
If unsuccessful in starting the HTTPD program, get more information
about the problem by trying one or more of these troubleshooting
techniques:
1. Look at the output of the JHTTPD spoolfile.
2. Check the messages in the /APACHE/PUB/logs/error_log file.
3. Verify the syntax of the httpd.conf file. This catches many, but not
all, syntax problems in the httpd.conf file.
:run HTTPD.PUB.APACHE:info=“-t”
or
shell/iX> /APACHE/PUB/HTTPD -t
4. Access Apache’s port across the network (port 80 if the port directive
set in the httpd.conf file has not been modified).