tomazos has asked for the wisdom of the Perl Monks concerning the following question:
I've narrowed down the problem as follows:
#!/usr/bin/perl my $posteddata; $posteddata .= $_ while (<>); print << "EOF"; Content-Type: text/plain $posteddata EOF
Under normal CGI this code echos back whatever is POSTed to it. When I run it under mod_perl and Apache::Registry, $posteddata comes up empty.
Does Apache::Registry pass in POSTed data in a different way? Is there a way to get your hands on the request object within a CGI script running under Apache::Registry? (so that I may manually read() the POSTed data from it?)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Apache::Registry and POSTs
by submersible_toaster (Chaplain) on Jun 02, 2003 at 03:10 UTC | |
|
Re: Apache::Registry and POSTs
by perrin (Chancellor) on Jun 02, 2003 at 03:21 UTC | |
|
Re: Apache::Registry and POSTs
by Juerd (Abbot) on Jun 02, 2003 at 05:32 UTC |