> Here's what Geoffrey Young said, you seem to have missed it:
> 
>  > you can't use $s (the server record) to capture PerlSetVar that exist 
> on a per-directory basis (within a <Location> or <Directory> block).  try
>  > Apache->request->dir_config('BlaTest');
>  >
>  > instead.  you should use $s->dir_config() for items set on a 
> per-server basis only, not per-directory.
> 
> As far as I understand him, you can use Apache->request inside the 
> startup.pl script (try it!)


no, you can't use Apache->request from a startup.pl script - I must have 
missed the startup.pl requirement in the original post.

but the rest is true, though, and Stas provided more details in a later 
post as well.  additionally, recipe 17.1 in the cookbook talks about 
this exact issue.

HTH

--Geoff

Reply via email to