Re: set auth_type, after subrequest it lost - bug or not ?

2007-06-18 Thread Sergij Borodych
On 06/14/07 16:14, Sergij Borodych wrote: > Hi ALL, > > I need some help > > I set auth_type (like $r->auth_type('MyType')) in PerlAuthenHandler > if request go in "/" (root) it generate subrequest > for lookup index.html file name > after th

set auth_type, after subrequest it lost - bug or not ?

2007-06-14 Thread Sergij Borodych
er I can't determine it this is bug or not ? becouse in documentation: >auth_type >Get/set the type of authorization required for _this request_ I may try workaround with use "pnotes", but I want desirably less as possibly a superfluous code -- Sergij Borodych http://bor.org.ua

Detect auth errors: user not found or password mismatch ?

2007-05-21 Thread Sergij Borodych
2) ? I use $r->status to detect 401 status $r->user() return always test1 and test2 $r->get_basic_auth_pw() return always OK and sent passwords -- Sergij Borodych http://bor.org.ua

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 loo

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 loo

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 sp

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

2007-04-18 Thread Sergij Borodych
ever be executed. >> >> I know, but I need show custom html page (with custom error message) > > you can pass anything you like from your authz handler to your content > handler using $r->pnotes :) > Yes I use it :) I pass error message to &somefunc but problem in another thing please reread my first(and second) letter -- Sergij Borodych http://bor.org.ua

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' : 'PerlH

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') =>

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

2007-04-17 Thread Sergij Borodych
es) it(somefunc) called too Where a problem? Is a way for fix it without redirect or add new Perl*Handler (PerlMapToStorageHandler,PerlFixupHandler?) ? -- Sergij Borodych http://bor.org.ua