Re: mod_perl 2.0.0 + Apache 2.0.55 on Cygwin Win2k3

2006-02-15 Thread Foo Ji-Haw
 Why don't you try ActivePerl instead of cygwin ? - Original Message - From: Jason J. Czerak To: modperl@perl.apache.org Sent: Thursday, February 16, 2006 4:28 AM Subject: mod_perl 2.0.0 + Apache 2.0.55 on Cygwin Win2k3 I have an application that is based on Apa

mp2 and httpd 2.2 - future plans / roadmap?

2006-02-15 Thread Jonathan Vanasco
There's no roadmap on perl.apach.org for project status / milestones / etc can any maintainers comment on httpd2.2 support plans? perhaps adding some sort of roadmap to the site too? the documentation for existing features is plentiful - there's just nothing i've been able to find on future

Re: Why is err_header_out needed to set cookies when redirecting?

2006-02-15 Thread Sam Tregar
On Wed, 15 Feb 2006, Geoffrey Young wrote: in short, because anything other than 200 is considered an error. so REDIRECT (302) forces apache to use the err_headers_out table instead of the headers_out table. why does Location work in headers_out, then, you ask? well, it's an exception to the

mod_perl 2.0.0 + Apache 2.0.55 on Cygwin Win2k3

2006-02-15 Thread Jason J. Czerak
I have an application that is based on Apache::ASP. Apache::ASP requires Apache2::porting and Apache2::compat to be in the startup.pl. Everything is working very well. I some how got mod_perl to build and running with out a segfault. This is good. The issue is when startup.pl is called, either

Re: Why is err_header_out needed to set cookies when redirecting?

2006-02-15 Thread Geoffrey Young
Sam Tregar wrote: > Hello all. Check out this bug: > > my $r = Apache->request; > $r->header_out(Set-Cookie => '...cookie here...' ); > $r->header_out(Location => '...url here...'); > return REDIRECT; > > Now, we all know that second line has to be err_header_out not > he

Re: Why is err_header_out needed to set cookies when redirecting?

2006-02-15 Thread Sam Tregar
On Wed, 15 Feb 2006, Michael Peters wrote: Now, we all know that second line has to be err_header_out not header_out, or Apache will silently ignore the Set-Cookie directive. I knew it as soon as I saw it, although I couldn't explain why and thus didn't trust my intuition. I looked through the

Re: Why is err_header_out needed to set cookies when redirecting?

2006-02-15 Thread Michael Peters
Sam Tregar wrote: > Hello all. Check out this bug: > > my $r = Apache->request; > $r->header_out(Set-Cookie => '...cookie here...' ); > $r->header_out(Location => '...url here...'); > return REDIRECT; > > Now, we all know that second line has to be err_header_out not > he

Why is err_header_out needed to set cookies when redirecting?

2006-02-15 Thread Sam Tregar
Hello all. Check out this bug: my $r = Apache->request; $r->header_out(Set-Cookie => '...cookie here...' ); $r->header_out(Location => '...url here...'); return REDIRECT; Now, we all know that second line has to be err_header_out not header_out, or Apache will silently ign

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Fred Moyer
PerlTransHandler Apache2::Const::OK I didn't take the time to read the entire thread, but based on the suggestion of using default-handler I figured the goal was something like this PerlTransHandler My::Foo # unset the above trans handler if that's the case then you want to return DECL

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Geoffrey Young
>> Very odd. Anyone know if 'default-handler' isn't in MP2? > > > I can't say that it isn't, but maybe this will work: > > PerlTransHandler Apache2::Const::OK I didn't take the time to read the entire thread, but based on the suggestion of using default-handler I figured the goal was somet

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Fred Moyer
Very odd. Anyone know if 'default-handler' isn't in MP2? I can't say that it isn't, but maybe this will work: PerlTransHandler Apache2::Const::OK Scratch that response, it will keep the TransHandler from running which is not what you want. Use DECLINED per Geoff's response.

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread John ORourke
Wouldn't PerlTransHandler Apache2::Const::DECLINED be better in this case, so it will fall through to the default handler? Fred Moyer wrote: Very odd. Anyone know if 'default-handler' isn't in MP2? I can't say that it isn't, but maybe this will work: PerlTransHandler Apache2::Const::O

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Fred Moyer
Frank Wiles wrote: On Wed, 15 Feb 2006 12:46:37 +0100 "Peter, Attila" <[EMAIL PROTECTED]> wrote: -Original Message- From: Peter, Attila Sent: Mittwoch, 15. Februar 2006 12:46 To: 'Frank Wiles' Subject: RE: MP2 PerlTransHandler and VirtualHosts Frank, I tried earlier default-handler

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Geoffrey Young
>>I tried earlier default-handler with no luck. I got failed to resolve >>handler `default-handler' in the error log. > > > Very odd. Anyone know if 'default-handler' isn't in MP2? default-handler is the default content handler, not the default for any random phase. it's also an httpd thin

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Frank Wiles
On Wed, 15 Feb 2006 12:46:37 +0100 "Peter, Attila" <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Peter, Attila > Sent: Mittwoch, 15. Februar 2006 12:46 > To: 'Frank Wiles' > Subject: RE: MP2 PerlTransHandler and VirtualHosts > > Frank, > > I tried earlier default-handler with

Re: SOLVED: mod_perl2 + DBILogger causes Segmentation fault (in modperl_dir_config () ?)

2006-02-15 Thread Perrin Harkins
On Wed, 2006-02-15 at 15:52 +0100, David Lamorski wrote: > thanks for all the support from this list and to my mail address. > The cause for the segfaults was a global registered $r in the > PerlLogHandler - Script. If you hadn't commented out "use strict" in your script, you would have received

Re: [RELEASE CANDIDATE] Apache-Test 1.28

2006-02-15 Thread Geoffrey Young
> Linux (Fedora Core 4) > All tests successful. > Files=6, Tests=22, 16 wallclock secs ( 6.16 cusr + 2.19 csys = 8.35 CPU) > OpenBSD (3.7) > All tests successful. > Files=6, Tests=22, 14 wallclock secs (11.30 cusr + 1.58 csys = 12.88 CPU) > > FreeBSD (5.4) > All tests successful. >

MP2 PerlPostConfigRequire and VirtualHosts

2006-02-15 Thread Peter, Attila
Title: MP2 PerlPostConfigRequire and VirtualHosts List, I want to load some heavy data processing modules via PerlPostConfigRequire in different virtual hosts. The source of data that the modules have to process depends on certain custom config variables defined within virtual host contai

Re: SOLVED: mod_perl2 + DBILogger causes Segmentation fault (in modperl_dir_config () ?)

2006-02-15 Thread David Lamorski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, thanks for all the support from this list and to my mail address. The cause for the segfaults was a global registered $r in the PerlLogHandler - Script. sub handler { $r=shift; $r->connection->pool->cleanup_register( "Apach

[OT] Linux in the News

2006-02-15 Thread Mark Galbreath
This just in:   http://ct.enews.eweek.com/rd/cts?d=186-3209-8-85-114956-376644-0-0-0-1   ...like this is news or something.   Mark<-|->kraM

FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Peter, Attila
-Original Message- From: Peter, Attila Sent: Mittwoch, 15. Februar 2006 12:46 To: 'Frank Wiles' Subject: RE: MP2 PerlTransHandler and VirtualHosts Frank, I tried earlier default-handler with no luck. I got failed to resolve handler `default-handler' in the error log. The idea of virt

RE: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Peter, Attila
Title: MP2 PerlTransHandler and VirtualHosts PerlPostConfigRequire is exactly a require. Note that I specified MyApp/DeviceProxy.pm instead of MyApp::DeviceProxy. The argument of PerlPostConfigRequire must be a filename. That can be an absolut one or just relative to your ServerRoot or @INC