Re: Installing mod-perl on Tiger

2006-05-31 Thread Jonathan Vanasco
On May 31, 2006, at 10:11 PM, Rebecca Lovelace wrote: Any advice would be appreciated, even if it's just as simple as a recommendation for me to understand the underlying integration. my advice (apologies if you know this, i'm just copy pasting from an older email) make sure devto

Installing mod-perl on Tiger

2006-05-31 Thread Rebecca Lovelace
Hi, apologies if this has come up before. I already requested the FAQ and message indexes and nothing appears set up in that department. I recently upgraded to Tiger and installed Apache 2.0.50. I then tried to install mod-perl 2.0.2. When I ran make after building the makefile, I was told tha

Re: Where is your mail list?

2006-05-31 Thread Philip M. Gollucci
Malcolm wrote: Hello, Do you have a searchable email list so that I could see if a bug has already been reported? Like an nntp sort of thing? Or someplace I can grep around? In particular, I keep getting one of those " Please file a bug report" results during "make test" of the latest (2.0.2)

Where is your mail list?

2006-05-31 Thread Malcolm
Hello, Do you have a searchable email list so that I could see if a bug has already been reported? Like an nntp sort of thing? Or someplace I can grep around? In particular, I keep getting one of those " Please file a bug report" results during "make test" of the latest (2.0.2) mod_perl on RedH

Re: XML::DOM no compile

2006-05-31 Thread Perrin Harkins
Hi Charlie, > Using cpan shell or webmin, I get following errro on attempt install > XML::DOM, so the whole install blows up. This mailing list is specifically for discussion of mod_perl. For general Perl questions, try one of the places listed here: http://perl.apache.org/docs/offsite/other.ht

Re: Apache::RequestRec outside of handler?

2006-05-31 Thread Perrin Harkins
On Wed, 2006-05-31 at 18:03 -0400, Jonathan Vanasco wrote: > On May 31, 2006, at 5:59 PM, Perrin Harkins wrote: > > That's essentially what happens if you just set it with > > Apache2::RequestUtil->request($r) at the start of your handler. Then > > you don't need to the PerlOptions +GlobalRequest

Re: Apache::RequestRec outside of handler?

2006-05-31 Thread Jonathan Vanasco
On May 31, 2006, at 5:59 PM, Perrin Harkins wrote: That's essentially what happens if you just set it with Apache2::RequestUtil->request($r) at the start of your handler. Then you don't need to the PerlOptions +GlobalRequest setting. Thats what i thought... but then phil mentioned the threade

Re: Apache::RequestRec outside of handler?

2006-05-31 Thread Perrin Harkins
On Wed, 2006-05-31 at 17:53 -0400, Jonathan Vanasco wrote: > b- for my use ( really just accessing some stuff like remote_ip and > other connection methods when i don't have a $r handy ) it looks like > i'd be better off with creating a namespace and storing a ref to $r > at the start of each

Re: Apache::RequestRec outside of handler?

2006-05-31 Thread Jonathan Vanasco
On May 31, 2006, at 5:35 PM, Philip M. Gollucci wrote: Jonathan Vanasco wrote: I'm guessing/hoping that this just stores a hashref to the current request object? Not exactly. It stores a global object. Which is why this is SLOW in threads because it has to CLONE() it between them. argh.

XML::DOM no compile

2006-05-31 Thread Charlie Smith
Using cpan shell or webmin, I get following errro on attempt install XML::DOM, so the whole install blows up. Failed Test Stat Wstat Total Fail Failed List of Failed --- t/dom_jp_print.t31 33.3

Re: Mail::POP3Client and pdf decode

2006-05-31 Thread Charlie Smith
Using cpan shell or webmin, I get following errro on attempt install XML::DOM, so the whole install blows up. Failed Test Stat Wstat Total Fail Failed List of Failed --- t/dom_jp_print.t31 33.3

Re: Apache::RequestRec outside of handler?

2006-05-31 Thread Philip M. Gollucci
Jonathan Vanasco wrote: I'm guessing/hoping that this just stores a hashref to the current request object? Not exactly. It stores a global object. Which is why this is SLOW in threads because it has to CLONE() it between them. static MP_INLINE request_rec *mpxs_Apache2__RequestUtil_request(pT

Re: Apache::RequestRec outside of handler?

2006-05-31 Thread Jonathan Vanasco
On May 31, 2006, at 1:31 PM, Perrin Harkins wrote: Sounds like you're looking for this: http://perl.apache.org/docs/2.0/api/Apache2/ RequestUtil.html#C_request_ Does anyone know how this operates behind the scenes? I'm guessing/hoping that this just stores a hashref to the current reques

Re: Apache::RequestRec outside of handler?

2006-05-31 Thread Jonathan Vanasco
On May 31, 2006, at 1:31 PM, Perrin Harkins wrote: Sounds like you're looking for this: http://perl.apache.org/docs/2.0/api/Apache2/ RequestUtil.html#C_request_ - Perrin Thats exactly it. thanks. On May 31, 2006, at 1:32 PM, James wrote: Try Apache2::RequestUtil->request(). Also, as you

Re: Getting Content-Length of response after PerlRun

2006-05-31 Thread Jonathan Vanasco
On May 31, 2006, at 2:39 PM, Geoffrey Young wrote: sounds like a lot of work, right? easier: in your CGI script buffer your own data, then print your own C-L header, followed by your data. I'll vouch for that method. I just do that by default all the time now - there's a bit of hit on mem

Re: Getting Content-Length of response after PerlRun

2006-05-31 Thread Geoffrey Young
[EMAIL PROTECTED] wrote: > Hi, > > I've researched around a lot but don't see a way to do this, if someone > could enlighten me I'd greatly appreciate it! > > In a nutshell, I'm running some cgis through PerlRun, and when the cgi has > finished and created the response, I want to get the length o

Getting Content-Length of response after PerlRun

2006-05-31 Thread kdel
Hi, I've researched around a lot but don't see a way to do this, if someone could enlighten me I'd greatly appreciate it! In a nutshell, I'm running some cgis through PerlRun, and when the cgi has finished and created the response, I want to get the length of that response and set a Content-Leng

Re: Apache::RequestRec outside of handler?

2006-05-31 Thread James
On Wednesday 31 May 2006 01:18 pm, Jonathan Vanasco > wrote: > is it possible to get a RequestRec outside of the handler? > > i've never had to do this before- i checked the docs, but there's > actually no info on RequestRec in regards to instantiating a new > object > > so I just tried my $r= Apac

Re: Apache::RequestRec outside of handler?

2006-05-31 Thread Perrin Harkins
On Wed, 2006-05-31 at 13:18 -0400, Jonathan Vanasco wrote: > is it possible to get a RequestRec outside of the handler? Sounds like you're looking for this: http://perl.apache.org/docs/2.0/api/Apache2/RequestUtil.html#C_request_ - Perrin

Apache::RequestRec outside of handler?

2006-05-31 Thread Jonathan Vanasco
is it possible to get a RequestRec outside of the handler? i've never had to do this before- i checked the docs, but there's actually no info on RequestRec in regards to instantiating a new object so I just tried my $r= Apache2::RequestRec->new(), and i segfaulted i figure there's something