Re: write results of subrequest to file

2004-08-17 Thread Stas Bekman
Philippe M. Chiasson wrote: Stas Bekman wrote: Philippe M. Chiasson wrote: Geoffrey Young wrote: Perrin Harkins wrote: On Fri, 2004-08-13 at 11:06, Geoffrey Young wrote: you can't do that with mod_perl 1.0 - you can $sub->run() but that result goes right to the client. For comparison, how wo

Re: write results of subrequest to file

2004-08-17 Thread Philippe M. Chiasson
Stas Bekman wrote: Philippe M. Chiasson wrote: Geoffrey Young wrote: Perrin Harkins wrote: On Fri, 2004-08-13 at 11:06, Geoffrey Young wrote: you can't do that with mod_perl 1.0 - you can $sub->run() but that result goes right to the client. For comparison, how would you do this in mp2? With

Re: write results of subrequest to file

2004-08-17 Thread Stas Bekman
Philippe M. Chiasson wrote: Geoffrey Young wrote: Perrin Harkins wrote: On Fri, 2004-08-13 at 11:06, Geoffrey Young wrote: you can't do that with mod_perl 1.0 - you can $sub->run() but that result goes right to the client. For comparison, how would you do this in mp2? With a filter? pretty mu

Re: write results of subrequest to file

2004-08-17 Thread Philippe M. Chiasson
Geoffrey Young wrote: Perrin Harkins wrote: On Fri, 2004-08-13 at 11:06, Geoffrey Young wrote: you can't do that with mod_perl 1.0 - you can $sub->run() but that result goes right to the client. For comparison, how would you do this in mp2? With a filter? pretty much. I believe that subreques

Re: write results of subrequest to file

2004-08-13 Thread Geoffrey Young
Perrin Harkins wrote: > On Fri, 2004-08-13 at 11:06, Geoffrey Young wrote: > >>you can't do that with mod_perl 1.0 - you can $sub->run() but that result >>goes right to the client. > > > For comparison, how would you do this in mp2? With a filter? pretty much. I believe that subrequests in

Re: write results of subrequest to file

2004-08-13 Thread Perrin Harkins
On Fri, 2004-08-13 at 11:06, Geoffrey Young wrote: > you can't do that with mod_perl 1.0 - you can $sub->run() but that result > goes right to the client. For comparison, how would you do this in mp2? With a filter? - Perrin -- Report problems: http://perl.apache.org/bugs/ Mail list info: htt

Re: write results of subrequest to file

2004-08-13 Thread Geoffrey Young
MJW Lambrichs wrote: > I want to publish the result of a dynamic request to a file. So within a > handler I create a subrequest that gives me the result of the dynamic > request. > > Something like: $sub = $r->lookup_uri("$page?id=$id"); > > Now I want to get the results of this request and str

write results of subrequest to file

2004-08-13 Thread MJW Lambrichs
I want to publish the result of a dynamic request to a file. So within a handler I create a subrequest that gives me the result of the dynamic request. Something like: $sub = $r->lookup_uri("$page?id=$id"); Now I want to get the results of this request and stream it into a file. Would using Ap