Sören Stuckenbrock wrote:
>>>PerlSetVar seems not to work for me! The part of interest in
>>>my httpd.conf looks like this:
>>>
>>>   Alias /contest /www/u-dev/contest
>>>   PerlModule Apache::Registry
>>>   PerlModule Apache::DBI
>>>   PerlTaintCheck On
>>>   <Location /contest>
>>>      PerlSetVar BlaTest BlaVal
>>>      SetHandler perl-script
>>>      PerlHandler Apache::Registry
>>>      PerlRequire /www/u-dev/contest/mod_perl_init.pl
>>>      Options ExecCGI
>>>      PerlSendHeader Off
>>>      allow from all
>>>   </Location>
>>
>>Try putting "PerlSetVar" AFTER "PerlHandler".
> 
> 
> Nope, using:
> 
>     Alias /contest /www/u-dev/contest
>     PerlModule Apache::Registry
>     PerlModule Apache::DBI
>     PerlTaintCheck On
>     <Location /contest>
>        SetHandler perl-script
>        PerlHandler Apache::Registry
>        PerlSetVar BlaTest BlaVal
>        PerlRequire /www/u-dev/contest/mod_perl_init.pl
>        Options ExecCGI
>        PerlSendHeader Off
>        allow from all
>     </Location>
> 
> doesn't work any better...

As the folks said you need to use $r->dir_config if you want to pull the 
Location specific value.


-- 


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to