wrote Authen module dealing with cookies : now POST requests get corrupted. Any advice ?

2008-06-19 Thread Dami Laurent (PJ)
Hi everybody, I recently wrote an extension to Apache2::AuthenNTLM in order to store the NTLM authentified username in a cookie (module http://search.cpan.org/dist/Apache2-AuthenNTLM-Cookie/). Now I found out that this module has a critical bug : the content of POST requests gets corrupted (bug

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:

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: [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 PerlAuthHandler My::Auth Require group group1 I can not find any mod_perl API method (Apache2::RequestRec::group ?) to set the group. that's right. you have control over the user via the httpd (and thus m

[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 c