Hello John,
* For a start to just get things going, I suggest you put the 'mumps'
binary into the default cgi-bin directory. (alternatively you could
create a symbolic link to /usr/bin/mumps)
* Just to make sure lets check the httpd.conf settings: We need to
take care of three things.
HTTPD.CONF:
a) make sure that your chosen cgi directory has ExecCGI permission.
('cgi-bin' in your case). You find those in the <directory>directives. For instance:
<Directory /home/httpd/cg-bin>
Options Indexes FollowSymLinks ExecCGI AllowOverride all
</Directory>
b) set the ScriptAlias (the mapper from URL to local directory)
for instance:
ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
c) check out under which user apache runs: Either it is built-in or
set in httpd.conf (User and group directives).
PERMISSIONS:
* Now take care that the apache user/group has permission to execute
the mumps binary. (e.g. chmod a+rx /usr/bin/mumps).
* Also make sure that apache has at least execute (+x) permission to
the cgi-bin directory (e.g. chmod a+rx /home/httpd/cgi-bin)
* ,And lastly it also needs permission to read the mumps files. (chmod
a+r /home/httpd/cgi-bin/*.m)
TEST-ROUTINE:
* Incase you got no mumps routines yet, lets create a demo routine.
('test.m') Save something like below to '/home/httpd/cgi-bin/test.m': test ;
<html>
<pre> w
</pre>
</html>
h
(don't forget to set the permissions
PUSHING-******:
* ok, lets try it: If you did changes to the httpd.conf - restart
apache (apachectl graceful). Open your browser and call:
http://127.0.0.1/cgi-bin/mumps?rou=test
Actually it should work now. Good luck
regard,
Axel