Mailing List Archive

[modperl]
Apache/Mod_Perl

hello

i have a problem with a CGI program.
i want my program executing another program.
the CGI works on an xterm, but doesn't work with
apache. only the script is executed, not the second program.
Is there anybody which can help me ?

Thanks

NB : that is the structure :

HTTP
|------myCgi.pl
|------Prog.pl

--

Yann Bodic, etud.fc.duia (mailto:bodic@iu-vannes.fr)
Re: [modperl] [ In reply to ]
> Apache/Mod_Perl
>
> hello
>
> i have a problem with a CGI program.
> i want my program executing another program.
> the CGI works on an xterm, but doesn't work with
> apache. only the script is executed, not the second program.
> Is there anybody which can help me ?


Take a look at:
http://perl.apache.org/guide/porting.html#STDIN_STDOUT_and_STDERR_streams
http://perl.apache.org/guide/porting.html#Output_from_system_calls
http://perl.apache.org/guide/performance.html#Forking_or_Executing_Subprocesse

>
> Thanks
>
> NB : that is the structure :
>
> HTTP
> |------myCgi.pl
> |------Prog.pl
>
> --
>
> Yann Bodic, etud.fc.duia (mailto:bodic@iu-vannes.fr)
>
>
>



_______________________________________________________________________
Stas Bekman mailto:sbekman@iname.com http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC http://www.stason.org/stas/TULARC
perl.apache.org modperl.sourcegarden.org perlmonth.com perl.org
single o-> + single o-+ = singlesheaven http://www.singlesheaven.com