thanx, Andrei
That could work. However, am I not limited to a certain size GET string? Or
are GET strings of unlimited size when issued internally by a SubRequest and
not an actual client? One definite problem is that that cgi in question would
need to know how to handle both GET and POST requests. Some legacy cgi on our
servers may only know how to do one or the other.
any other ideas?
-amen
"Andrei A. Voropaev" wrote:
> I feel like it would be simpler to append content of STDIN to the
> URL. In other words convert POST request to GET.
>
> Andrei
>
> On Wed, Aug 23, 2000 at 10:03:59PM -0700, Alex Menendez wrote:
> > hello, all
> >
> > I am currently trying to have a cgi execute in a mod_perl module by
> > generating a subrequest to the executable via
> > lookup_uri. It is working great for GET requests. However, POST requests
> > are obviously failing because only the uri is being passed to the
> > subrequest and not the main request's STDIN. I assume the answer is to
> > tie the main request's STDIN to the subrequest's STDIN. I have tried to
> > to this with tie but I get an error because the subclass
> > Apache::SubRequest cannot execute a tie.
> >
> > Any ideas?
> >
> > -amen
>
> --