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/embperl/Embperl.pod.2.html#Operating_Modes

Aaron Johnson

Peter S Galbraith wrote:

> 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:
> >
> >
> > [+ foreach $key (%fdat) { print OUT "$key -> $fdat{$key}\n" }  +]
>
> Ouch.  I have a lot to learn.
>
> > You could also do it the embperl way:
> >
> > [$ foreach $key (%fdat) $]
> >       [+ $key +] -> [+ $fdat{$key} +]<br>
> > [$ endforeach $]
>
> I tried this, and I still get the same error.  Guess the problem
> is somewhere else in spite of my poor coding efforts.
>
> I finally got the script to work by editing the ACTION tag in the
> calling form, from:
>
> ACTION="http://mixing/embperl/form-parse"
>
> to:
>
> ACTION="http://mixing/cgi-bin/embpcgi.pl/embperl/form-parse"
>
> so I guess it's an apache configuration problem. I'm allowed to
> post to /cgi-bin but not to /embperl somehow.
>
> > BTW, this is in the FAQ and/or documentation and/or mailing list archives at
> > http://perl.apache.org/embperl.
>
> I've looked!
>
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to