httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Salvatore Cozzolongo <cozzolo...@planetek.it>
Subject Re: [users@httpd] Execution of a cgi on a cluster...
Date Wed, 25 Oct 2006 09:02:08 GMT
I think this type of string,too.
But this script doesn't function because the problem is how to give the query string to mapserver..


On Tue, 24 Oct 2006 13:14:57 -0400, "Joshua Slive" <joshua@slive.ca> wrote:
> On 10/24/06, Salvatore Cozzolongo <cozzolongo@planetek.it> 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: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
--
Salvatore Cozzolongo



---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message