[MP2]: setting group for a request (require group ...)

2008-06-19 Thread titetluc titetluc
Hello all, I am writing a mod_perl authentication module (My::Auth). This module sets the user using the Apache2::RequestRec::user method. package My::Auth; sub { $r-user('getting the user in my module internal structure'); return OK; } In the Apache configuration file, I can use the

Re: [MP2]: setting group for a request (require group ...)

2008-06-19 Thread Geoffrey Young
I would like to use my module in another configuration where group is checked Location /test_group PerlAuthHandler My::Auth Require group group1 /Location I can not find any mod_perl API method (Apache2::RequestRec::group ?) to set the group. that's right. you have control over the

bug report: wrong line number if using built-in functions

2008-06-19 Thread Christian Mehring
-8-- Start Bug Report 8-- 1. Problem Description: Line numbers will be wrong if a bulit-in function's first parameter is not in the same line. Minimized example: 01: #!/usr/local/bin/perl 02: use strict; 03: use warnings; 04: 05: abs 06: 07:5; 08:

Re: bug report: wrong line number if using built-in functions

2008-06-19 Thread Philippe M. Chiasson
Christian Mehring wrote: -8-- Start Bug Report 8-- 1. Problem Description: Line numbers will be wrong if a bulit-in function's first parameter is not in the same line. Minimized example: 01: #!/usr/local/bin/perl 02: use strict; 03: use warnings; 04: