Re: [users@httpd] Execution of a cgi on a cluster...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx> wrote:
> On 10/24/06, Salvatore Cozzolongo <cozzolongo@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux