--- Stas Bekman <[EMAIL PROTECTED]> wrote:
> Igor Chudov wrote:
> > --- Stas Bekman <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Stas Bekman wrote:
> >>
> >>>Igor Chudov wrote:
> >>>
> >>>
> >>>>I was too quick to say that it worked. It does
> >>
> >>not
> >>
> >>>>quite work with another PerlHandler of mine.
> >>>>I make a form, if I submit it with a GET method,
> >>
> >>it
> >>
> >>>>works. If I submit it with a POST handler, CGI
> >>
> >>fails
> >>
> >>>>to get parameters. I am most puzzled.
> >>>
> >>>
> >>>Add:
> >>>
> >>>PerlModule Apache2::RequestIO
> >>>
> >>>at the server startup then.
> >>>
> >>>Next check that you are using the latest CGI.pm
> >>
> >>which should work fine.
> >>
> >>>Which CGI.pm version do you use?
> >>
> >>Actually scratch that.
> >
> >
> > Thanks. I tried it and it did not help.
> >
> >
> >>It seems like a bug in
> >>CGI.pm. Please try this patch:
> >>
> >>--- CGI.pm.orig 2005-05-13 12:09:12.000000000
> -0400
> >>+++ CGI.pm 2005-05-13 12:09:22.000000000
> -0400
> >>@@ -184,6 +184,7 @@
> >> require Apache2::Response;
> >> require Apache2::RequestRec;
> >> require Apache2::RequestUtil;
> >>+ require Apache2::RequestIO;
> >> require APR::Pool;
> >> } else {
> >> $MOD_PERL = 1;
> >
> >
> > I already applied this patch (at Randy's
> suggestion, I
> > think). It did not help.
>
> so what's the latest error that you get? The easiest
> way to help us to
> reproduce the problem is to download the Apache-Test
> Skeleton, that you
> can find linked from here:
>
http://perl.apache.org/docs/2.0/user/help/help.html#Problem_Description
>
> add a *minimal* code that we can reproduce your
> problem with and send it
> here. Once we have it and we can reproduce it, it
> should be trivial to fix.
I do not get any error, however, CGI does not return
te needed form parameter value. As though the value
was never passed to the form. If I change the method
from POST to GET, everything is fine.
I will try to reproduce the minimal handler that
reproduces the problem.
igor
- Igor
Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online and more. Check it out!
http://discover.yahoo.com/