RE: Malformed header from script

2007-04-18 Thread michael watson \(IAH-C\)
Hi Robert Thanks for answering. If I restart the web server and use the HEAD command as the very first request, I get: %> HEAD http://iahc-linux13.iah.bbsrc.ac.uk/Gallus_gallus/mapview?chr=1 500 Internal Server Error Connection: close Date: Wed, 18 Apr 2007 08:56:57 GMT Server: Apache Content-

Re: $r->handler and $r->set_handlers on all files

2007-04-18 Thread Sergij Borodych
Sergij Borodych пишет: Hi, I have configuration: apache-2.0.59 mod_perl-2.0.3 PerlAuthzHandler MyModule::authorize and in authorize: if ... $r->handler('perl-script'); $r->set_handlers( (MP2 ? 'PerlResponseHandler' : 'PerlHandler') => \&somefunc ); If url is "/" all ok - autho

Re: $r->handler and $r->set_handlers on all files

2007-04-18 Thread Geoffrey Young
Sergij Borodych wrote: > Hi, > > I have configuration: > apache-2.0.59 > mod_perl-2.0.3 > > > PerlAuthzHandler MyModule::authorize > > and in authorize: > > if ... > $r->handler('perl-script'); > $r->set_handlers( (MP2 ? 'PerlResponseHandler' : 'PerlHandler') => > \&somefunc ); wh

Re: $r->handler and $r->set_handlers on all files

2007-04-18 Thread Sergij Borodych
Geoffrey Young пишет: Sergij Borodych wrote: Hi, I have configuration: apache-2.0.59 mod_perl-2.0.3 PerlAuthzHandler MyModule::authorize and in authorize: if ... $r->handler('perl-script'); $r->set_handlers( (MP2 ? 'PerlResponseHandler' : 'PerlHandler') => \&somefunc ); why ar

Re: $r->handler and $r->set_handlers on all files

2007-04-18 Thread Geoffrey Young
>>> >>> PerlAuthzHandler MyModule::authorize >>> >>> and in authorize: >>> >>> if ... >>> $r->handler('perl-script'); >>> $r->set_handlers( (MP2 ? 'PerlResponseHandler' : 'PerlHandler') => >>> \&somefunc ); >> >> >> why are you doing this? those same directives in httpd.conf are a >>

Re: Malformed header from script

2007-04-18 Thread Robert Landrum
michael watson (IAH-C) wrote: [Wed Apr 18 09:56:55 2007] [notice] Apache/2.2.4 (Unix) mod_perl/2.0.3 Perl/v5.8.0 configured -- resuming normal operations [Wed Apr 18 09:56:57 2007] [error] [client 149.155.40.20] malformed header from script. Bad header=: mapview [Wed Apr 18 09:56:57 2007] [warn]

Re: Growing Up

2007-04-18 Thread Perrin Harkins
On 4/18/07, Denis Banovic <[EMAIL PROTECTED]> wrote: Is it possible to configure Perlbal so there is no single point of failure? That sort of high-availability setup is beyond the scope of an application-level load balancer like Perlbal. You need to use something that allows for IP takeover.

Re: Growing Up

2007-04-18 Thread Jonathan Vanasco
On Apr 18, 2007, at 12:36 PM, Perrin Harkins wrote: On 4/18/07, Denis Banovic <[EMAIL PROTECTED]> wrote: Is it possible to configure Perlbal so there is no single point of failure? That sort of high-availability setup is beyond the scope of an application-level load balancer like Perlbal.

Re: $r->handler and $r->set_handlers on all files

2007-04-18 Thread Sergij Borodych
Geoffrey Young пишет: PerlAuthzHandler MyModule::authorize and in authorize: if ... $r->handler('perl-script'); $r->set_handlers( (MP2 ? 'PerlResponseHandler' : 'PerlHandler') => \&somefunc ); >>> >>> why are you doing this? those same dire

Re: $r->handler and $r->set_handlers on all files

2007-04-18 Thread Perrin Harkins
On 4/18/07, Sergij Borodych <[EMAIL PROTECTED]> wrote: I try at another servers with Debian Etch apache2 2.2.3-4 libapache2-mod-perl2 2.0.2-2.4 FreeBSD 6.2-STABLE apache-2.0.59 mod_perl2-2.0.3_1,3 and here all works fine maybe its Gentoo specific bug ? More likely it'

Re: Problem with MODPERL_API_VERSION

2007-04-18 Thread Philip M. Gollucci
Frank Wiles wrote: BEGIN { use constant MP2 => eval { exists $ENV{MOD_PERL_API_VERSION} and $ENV{MOD_PERL_API_VERSION} >= 2 }; } In the future, >=2 might matter, but for now its either undef or exactly == 2 which ho