Randal L. Schwartz wrote:
> It appears that PerlSetVar and PerlAddVar, while being parsed
> and noted for .htaccess, have no effect.
> 
> At least for the half-dozen trials I made.
> 
> I presume I'm reading this right... if I have
> 
>         sub handler {
>            my $r = shift;
>            my @values = $r->server->dir_config->get("key");
> 
> Then I should see @values for all "PerlAddVar key v1" in scope, right?
> It seems to work in httpd.conf files.  But not .htaccess files. 

I'd be surprised if that works.  $r->server->dir_config() ought to give
unmerged per-server PerlSetVar settings which, by design, cannot exist in an
.htaccess file.  $r->dir_config() ought to give merged settings, though.

--Geoff

Reply via email to