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

2007-04-20 Thread Sergij Borodych
On 04/19/07 15:19, Perrin Harkins wrote: On 4/19/07, Sergij Borodych [EMAIL PROTECTED] wrote: I check virtual hosts conf and not found difference. The httpd.conf files on the machine that works and the one that doesn't are completely identical? Make sure you are really looking at the correct

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

2007-04-19 Thread Sergij Borodych
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

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

2007-04-19 Thread Perrin Harkins
On 4/19/07, Sergij Borodych [EMAIL PROTECTED] wrote: I check virtual hosts conf and not found difference. The httpd.conf files on the machine that works and the one that doesn't are completely identical? Make sure you are really looking at the correct files. Which apache directives can

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

2007-04-19 Thread Sergij Borodych
On 04/19/07 15:19, Perrin Harkins wrote: On 4/19/07, Sergij Borodych [EMAIL PROTECTED] wrote: I check virtual hosts conf and not found difference. The httpd.conf files on the machine that works and the one that doesn't are completely identical? Make sure you are really looking at the correct

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 Directory /somedir/htdocs PerlAuthzHandler MyModule::authorize and in authorize: if ... $r-handler('perl-script'); $r-set_handlers( (MP2 ? 'PerlResponseHandler' : 'PerlHandler') = \somefunc ); If url

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 Directory /somedir/htdocs PerlAuthzHandler MyModule::authorize and in authorize: if ... $r-handler('perl-script'); $r-set_handlers( (MP2 ? 'PerlResponseHandler' : 'PerlHandler') = \somefunc

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 Directory /somedir/htdocs PerlAuthzHandler MyModule::authorize and in authorize: if ... $r-handler('perl-script'); $r-set_handlers( (MP2 ? 'PerlResponseHandler' : 'PerlHandler') =

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

2007-04-18 Thread Geoffrey Young
Directory /somedir/htdocs 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 cleaner way

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

2007-04-18 Thread Sergij Borodych
Geoffrey Young пишет: Directory /somedir/htdocs 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

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's

$r-handler and $r-set_handlers on all files

2007-04-17 Thread Sergij Borodych
Hi, I have configuration: apache-2.0.59 mod_perl-2.0.3 Directory /somedir/htdocs PerlAuthzHandler MyModule::authorize and in authorize: if ... $r-handler('perl-script'); $r-set_handlers( (MP2 ? 'PerlResponseHandler' : 'PerlHandler') = \somefunc ); If url is / all ok - authorize