Re: Help on debugging print problem

2013-05-30 Thread Marcus Don
t; my $body_len = calculate_body_len(); > $r->set_content_length($body_len); > $r->rflush; > > Which just did nothing. > > Thx > -Chris > > From: Marcus Don [mailto:m...@names.co.uk] > Sent: Thursday, May 30, 2013 9:12 AM > To: Chris Faust > Cc: modper

Re: Help on debugging print problem

2013-05-30 Thread Marcus Don
At a guess, I'd say your new machine is using chunked output, so you might need to add a size header. Marcus On 30 May 2013, at 12:11, "Chris Faust" wrote: > Hi, > > I have some code I use all the time I use to download a file: > > if (-e '/report.pdf') { > open(PDF, '/rep

Re: Changing Apache configuration for each request

2011-08-12 Thread Marcus Don
>> Did you "use Apache2::RequestUtil ();"? For a use case refer to >> Apache2::Translation on CPAN. I did, but I was also trying to call the method statically. Forgive me if this is stupid, it's been many years since I've used Perl. What I'm actually doing is creating a proof of concept configura

Re: Changing Apache configuration for each request

2011-08-12 Thread Marcus Don
ems the problem was actually just that I was using the wrong handler! Regards Marcus > On Friday, 12 August 2011 11:38:51 Marcus Don wrote: >> Please could someone confirm whether what I'm trying to do is possible >> with mod_perl and, if it is, give some clues as to how?

Changing Apache configuration for each request

2011-08-12 Thread Marcus Don
ges to the configuration file at startup. Please could someone confirm whether what I'm trying to do is possible with mod_perl and, if it is, give some clues as to how? Thanks Marcus -- Marcus Don Senior Manager Research and Development DadaPro