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 this in subrequest I lost auth_type (but I ignore subrequests

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

2007-06-14 Thread Sergij Borodych
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
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 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 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 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 Sergij Borodych
error message to somefunc but problem in another thing please reread my first(and second) letter -- Sergij Borodych http://bor.org.ua

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

2007-04-17 Thread Sergij Borodych
it without redirect or add new Perl*Handler (PerlMapToStorageHandler,PerlFixupHandler?) ? -- Sergij Borodych http://bor.org.ua