Re: Can't POST to embperl

2000-09-11 Thread Peter S Galbraith
Matt wrote: > > --cut- > > > > Parsing a form > > > > > > [+ foreach $key (%fdat) { print "$key -> $fdat{$key}\n" } +] > > should that not be foreach $key (keys %fdat)? Yes. *blush* > > > > > > --cut- > mine reads > > SetEnv EMBPERL_DEBUG 2285 > > >

Re: Can't POST to embperl

2000-09-09 Thread Matt
On Fri, 8 Sep 2000, Peter S Galbraith wrote: > Hello, > > This is probably very easy, I'm new at embperl. > > I've setup embperl (using Debian GNU/Linux) and a simple perl > substitution test works fine. I run into problems trying to post > data to a embperl script. > > apache reports the f

Re: Can't POST to embperl

2000-09-08 Thread Peter S Galbraith
Aaron Johnson wrote: > In reference to not running under the embperl directory. > > It seems you have not added all the needed changes to your > httpd.conf possibly. Is this under mod_perl? It was under CGI. I figure I'd play with that before mod_perl. > Make sure you have added all the line

Re: Can't POST to embperl

2000-09-08 Thread Aaron Johnson
In reference to not running under the embperl directory. It seems you have not added all the needed changes to your httpd.conf possibly. Is this under mod_perl? Make sure you have added all the lines mentioned in the HTML::Embperl documentation to your httpd.conf. See: http://perl.apache.org/emb

Re: Can't POST to embperl

2000-09-08 Thread Peter S Galbraith
Wim Kerkhoff wrote: > On Fri, Sep 08, 2000 at 02:07:36PM -0400, Peter S Galbraith wrote: > > > [+ foreach $key (%fdat) { print "$key -> $fdat{$key}\n" } +] > > Doing a print this way will not output to the browser. You > having to print to the OUT handle, which is STDOUT in embperl: > > > [+

Can't POST to embperl

2000-09-08 Thread Peter S Galbraith
Hello, This is probably very easy, I'm new at embperl. I've setup embperl (using Debian GNU/Linux) and a simple perl substitution test works fine. I run into problems trying to post data to a embperl script. apache reports the following error: (8)Exec format error: exec of /usr/local/lib/emb