RE: [cgiwrap-users] forking not allowed?
Brought to you by:
nneul
From: Neulinger, N. <nn...@um...> - 2001-11-14 21:56:16
|
Hacking around things should not be needed. Something is wrong with the setup on that machine if regular forks/system/etc. are not working. Do you have php configured properly, i.e. with the --enable-discard-path option? -- Nathan ------------------------------------------------------------ Nathan Neulinger EMail: nn...@um... University of Missouri - Rolla Phone: (573) 341-4841 Computing Services Fax: (573) 341-4216 > -----Original Message----- > From: Ralph Huntington [mailto:rj...@mo...] > Sent: Wednesday, November 14, 2001 3:52 PM > To: Marten Lehmann > Cc: cgi...@li... > Subject: Re: [cgiwrap-users] forking not allowed? > > > Have you tried something like this > > #!/usr/bin/perl > $uptime = `uptime`; > print "Content-type: text/plain\n\n"; > print "$uptime"; > > Note the back-quotes around the shell-escaped command (not > single quotes) > (This is not really a cgiwrap question; it is a perl question.) > > On Wed, 14 Nov 2001, Marten Lehmann wrote: > > > Hello, > > > > even a small perl script showing the uptime is hanging: > > > > #!/usr/bin/perl > > print "Content-type: text/plain\n\n"; > > system("uptime"); > > > > I started the script in debug-mode: > > > > ... > > > > argv[0] = 'cgiwrapd' > > Executing '/vrmd/http/web/test.pl' > > Output of script follows: > > ===================================================== > > <nothing follows, but connection stays open> > > > > How can I configure cgiwrap to execute "uptime" or any > other command? > > > > Regards > > Marten > > > > _______________________________________________ > > cgiwrap-users mailing list > > cgi...@li... > > https://lists.sourceforge.net/lists/listinfo/cgiwrap-users > > > > > _______________________________________________ > cgiwrap-users mailing list > cgi...@li... > https://lists.sourceforge.net/lists/listinfo/cgiwrap-users > |