On 10/24/06, Salvatore Cozzolongo <[EMAIL PROTECTED]> wrote:
I have this problem. I must execute the mapserver cgi on a beowulf-type
cluster. On this cluster there is a particular command (mpirun) that permits to
submit jobs to the machines of the cluster I want. I want to execute the cgi
through this command and distribute the render computing on the machines I
decide (different from the machine where apache is). Is there a manner to
execute a cgi through the use of a command? For example:
mpirun mapserver
Is it possible in Apache 2.0?
I think there is basic misunderstanding here about CGI really is. A
CGI script is essentially an arbitrary program, so it can do whatever
you want. (Of course, you need a few basic things like an HTTP
response header. See:
http://httpd.apache.org/docs/2.2/howto/cgi.html#writing )
So for example, your CGI script could be
#!/bin/sh
echo Content-Type: text/plain
echo
mpirun mapserver
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]