ModPerl2 + Image::Magick

2004-11-11 Thread Derck Floor
Hello everybody, I have some problems with Image::Magick and modperl 2. Apache 2 gives a segmentation fault if i preload Image::Magick in a preload.pl. Apache 2 continues working, but the httpdcore gets dumped. Apache 2 and Image::Magick are working fine after the apache core gets dumped. The fol

Re: Apache::Cookie->new/bake broken - mod_perl 2

2004-11-11 Thread Joe Schaefer
Dan Sully <[EMAIL PROTECTED]> writes: > I'm running into an interesting problem, using Apache::SessionManager. > > My first request to the webpage successfully generates a cookie, and I see it > in my browser's jar. The next response though, the Apache::Cookie->fetch() > gets a truncated cookie (

Re: Apache::Cookie

2004-11-11 Thread Joe Schaefer
Arshavir Grigorian <[EMAIL PROTECTED]> writes: > # WORKS > my $cookie = $ticket->cookie()->as_string(); > $r->err_headers_out->add('Set-Cookie' => $cookie); > > # DOES NOT WORK$ticket->cookie()->bake(); > where $ticket->cookie() is an Apache::Cookie object. This is > the first thing i

Re: Apache::Cookie->new/bake broken - mod_perl 2

2004-11-11 Thread Dan Sully
* Joe Schaefer <[EMAIL PROTECTED]> shaped the electrons to say... My first request to the webpage successfully generates a cookie, and I see it in my browser's jar. The next response though, the Apache::Cookie->fetch() gets a truncated cookie (md5 sum), and can't tie to the previous session and cre

Re: Apache::Cookie

2004-11-11 Thread Geoffrey Young
> libapreq2 is currently using $r->headers_out instead > of $r->err_headers_out, which is why you're not seeing the > cookie on your redirect response. I think the consensus > is that this is a bug in libapreq2-2.04, but I haven't seen > any other apreq committers weigh in on the subject, so > I'

Re: ModPerl2 + Image::Magick

2004-11-11 Thread Stas Bekman
Derck Floor wrote: Hello everybody, I have some problems with Image::Magick and modperl 2. Apache 2 gives a segmentation fault if i preload Image::Magick in a preload.pl. Apache 2 continues working, but the httpdcore gets dumped. Apache 2 and Image::Magick are working fine after the apache core get

Need some help hijacking the page output pipe

2004-11-11 Thread Mark S Lowe
Title: Need some help hijacking the page output pipe I have a need to create my own suffix and hijack the output for page rendering code, and then re-output the page with my own OK. I have the O’Reilly book “Practical mod_perl” and there is a great example of this on page 114 in Chapter 4. Howev

Re: Need some help hijacking the page output pipe

2004-11-11 Thread Tom Schindl
Mark S Lowe wrote: I have a need to create my own suffix and hijack the output for page rendering code, and then re-output the page with my own OK. I have the O’Reilly book “Practical mod_perl” and there is a great example of this on page 114 in Chapter 4. However, the example is incomplete. The

Re: Apache::Cookie

2004-11-11 Thread Arshavir Grigorian
Geoffrey Young wrote: libapreq2 is currently using $r->headers_out instead of $r->err_headers_out, which is why you're not seeing the cookie on your redirect response. I think the consensus is that this is a bug in libapreq2-2.04, but I haven't seen any other apreq committers weigh in on the subje

Re: Need some help hijacking the page output pipe

2004-11-11 Thread Mark S Lowe
Title: Re: Need some help hijacking the page output pipe Thank you. This worked perfectly. I was also able to add test code from chapter 4 of Writing Apache Modules with Perl and C, and add file tests. I knew my first post to this mailing list had to be stupid. ;-) On 11/11/04 2:21 PM, "Tom

Re: Apache::Cookie

2004-11-11 Thread ___cliff rayman___
Arshavir Grigorian wrote: Geoffrey Young wrote: libapreq2 is currently using $r->headers_out instead of $r->err_headers_out, which is why you're not seeing the cookie on your redirect response. I think the consensus is that this is a bug in libapreq2-2.04, but I haven't seen any other apreq commit

Re: Apache::Cookie

2004-11-11 Thread Geoffrey Young
> Thanks for the feedback. I guess I am wondering who I would need to talk > to in order to get this fixed. Joe is the man :) > > Just to understand, why does it need to use the err_headers_out instead > of headers_out? There does not seem to be any errors. Am I > misinterpreting the function n