a new feature that may be of interest..
new method just added allows one to configure the server at request time, 
similar to how .htaccess works, but without the file.

for example, to require authentication on the fly, at any point in the 
request before the authen phase is run, one can call:

my $user = 'valid-user';
$r->add_config(["require $user"]);

this method is thread-safe, tho i have not measured performance impact.
impact will depend on the directive and exising configuration, as it will 
trigger per-dir create for the given module and perhaps a per-dir merge.

also note, Apache::Directive->insert has been changed to 
Apache::Server->add_config.  modperl_extra.pl still serves as the example 
in ModPerl::Test::perl_section.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to