Compiling Apache-Scoreboard-2.01

2004-11-09 Thread Maxim Nechaev
I have a problem to make Apache-Scoreboard-2.01 with error message:

Error: 'APR::OS::Thread' not in typemap in Scoreboard.xs, line 624
Please specify prototyping behavior for Scoreboard.xs (see perlxs manual)
make: *** [Scoreboard.c] Error 1

Software:
slackware-8.0
apache-2.0.52
mod_perl-1.99_17


Maxim Nechaev

Re[2]: Compiling Apache-Scoreboard-2.01

2004-11-09 Thread Maxim Nechaev
SB> Yup, it's outdated. I'll fix and upload a new release a bit later.

Apache-Scoreboard-2.01 is a latest available version via CPAN. Where
get new release?


Maxim Nechaev

Re[2]: Compiling Apache-Scoreboard-2.01

2004-11-09 Thread Maxim Nechaev
SB> I'll upload one soon. Meanwhile you can apply this patch to version 2.01.
SB> ...

Thanks, this work.

[mp2] Logging separate child process

2004-11-22 Thread Maxim Nechaev
Hi.


  Not long time ago i migrate perl cgi application to mod_perl
ModPerl::Registry. All ok, but sometime (about one time in a week) it
work not so, as expected. There no error, no dies, but it behave like
some portion of code not executed at all. I restart apache and there
ok again. I can't define which order of execution bring to error.
  Is there posibility to log each child proccess separately? I think,
if i get to know which order of request processing off child proccess
bring to this state, i can reproduce it and localize error.
  What else i can do in this situation?


Maxim Nechaev

ps. Sorry for my English, it's not my native language.


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



[mp2] Can't change AuthName

2004-12-02 Thread Maxim Nechaev
Hi!

I want set AuthName from hadler(), instead from httpd.conf.
I put in Authen handler:

...
sub handler
{
 my $r = shift;

 $r->auth_name('Decline authorization');
 #^^
 
 my ($status, $password) = $r->get_basic_auth_pw();
 return $status if($status != Apache::OK);
...

But it not work. In error_log appear a message:
Can't change AuthName to 'Decline authorization'

What i do wrong?


Maxim Nechaev


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Re[2]: [mp2] Can't change AuthName

2004-12-02 Thread Maxim Nechaev
GY> this kind of activity looks to be governed by the same override rules as
GY> .htaccess files.  so, try setting

GY>   AllowOverride AuthConfig

It's not help. Same message in error_log.

Any other variants? Thanks.


Maxim Nechaev


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Re: [mp2] Can't change AuthName

2004-12-03 Thread Maxim Nechaev
Maybe, i use wrong handler to change AuthName?

Maxim Nechaev


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Re[2]: [mp2] Can't change AuthName

2004-12-05 Thread Maxim Nechaev
GY>   $ t/TEST t/api/access.t -v

This gives:
.

# testing : auth_name
# expected: modperl
# received: modperl
ok 6
# testing : auth_name
# expected: modperl_test
# received: modperl_test
ok 7

.

In my code i can change "auth_name()" from Response handler easy, but
can't do this from Authen handler.
Is this error? Need bug report?


Maxim Nechaev


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Restarting apache from child?

2005-03-13 Thread Maxim Nechaev
I need to restart or graceful restart apache server from one of his
child. It is possible? If yes, how to do this more correctly?

Thanks
Maxim Nechaev



Re[2]: Restarting apache from child

2005-03-16 Thread Maxim Nechaev
Scott, thanks for response!

SG> The main Apache process runs as root, and each Apache child process
SG> runs as a less-privileged user, and so would not have permission to
SG> signal the main process to tell it to reload.

Ok i understand difficulty.

Maybe exists a way to force apache reread or change it's current
configuration with effecting on all other child's?


Maxim Nechaev



Re: vhosts and mod_perl

2005-07-17 Thread Maxim Nechaev
You can solve this by adding:



PerlOptions +Parent





PerlOptions +Parent



http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_


--
Maxim Nechaev